void InitLabelDefault(LMS_GuiBaseLabel l) { l.UseRelativeRect = true; l.SetInterval("0.5 + 0.5"); l.SetFlags("EXTRUDE"); l.SetRenderMode(E_ColorFlags.CHROMATIMED); }
void InitLabels() { Text = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(64f, 46f, 431f, 150f), Text = "Would you like to join\nour discord server?", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); Title = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(10f, 4f, 426f, 151f), Text = "Discord Server", RenderStyle = new GUIStyle { fontSize = 23, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleLeft, normal = { textColor = Color.cyan } } }, 15); OkLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(83f, 176f, 387f, 157f), Text = "OK", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); InitLabelDefault(Text); InitLabelDefault(Title); InitLabelDefault(OkLabel); Text.RegisterClientViewTick((view) => { Text.Config.SetText(m_Text); }, null); Title.RegisterClientViewTick((view) => { Title.Config.SetText(m_Title); }, null); }
void InitLabels() { m_Title = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(170f, 13f, 431f, 150f), Text = "GUI Editor", RenderStyle = new GUIStyle { fontSize = 23, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); GEditorLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(78f, 89f, 654f, 239f), Text = "Element Editor", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); ColorsLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(78f, 177f, 654f, 239f), Text = "Color Editor", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); InitLabelDefault(m_Title); InitLabelDefault(GEditorLabel); InitLabelDefault(ColorsLabel); m_Title.SetFlags("OUTLINE", "EXTRUDE"); }
void Awake() { m_FPSLabel = LMS_GuiBaseUtils.InstantiateGUIElement <LMS_GuiBaseLabel>(new LMS_GuiConfig { Rect = new Rect(0f, 0f, 200f, 150f), Text = "0 FPS", RenderStyle = new GUIStyle { fontSize = 23, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleLeft, normal = { textColor = Color.cyan } } }, 92); m_FPSLabel.SetRenderMode(E_ColorFlags.CHROMATIMED); m_FPSLabel.RegisterClientViewTick((view) => { m_FPSLabel.Config.Text = ((int)fps).ToString() + "FPS"; }, null); m_FPSLabel.UseRelativeRect = true; m_FPSLabel.SetInterval("0.5 + 0.5"); }
void InitLabels() { Creditslabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(330f, 173f, 431f, 150f), Text = "Hacks Made By\n\nLercio12\nMRKDaGods\nxXxShanGoxXx", RenderStyle = new GUIStyle { fontSize = 25, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 3); AutomationLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 30f, 431f, 150f), Text = "Automation Hacks", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 1); EspLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 65f, 431f, 150f), Text = "Esp Hacks", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 2); MiscLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 100f, 431f, 150f), Text = "Misc Hacks", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 4); MovementLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 135f, 431f, 150f), Text = "Movement Hacks", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 6); FunLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 170f, 431f, 150f), Text = "Fun Hacks", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 7); GUIEditorLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 205f, 431f, 150f), Text = "GUI Editor", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 8); UpdaterLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 240f, 431f, 150f), Text = "Update", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 9); _CreditsLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 275f, 431f, 150f), Text = "Credits", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 10); OptTitle = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(168f, 25f, 431f, 150f), Text = "TITLE", RenderStyle = new GUIStyle { fontSize = 22, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 11); OptText = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(168f, 118f, 431f, 150f), Text = "TEXT", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 12); Version = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(382f, 284f, 238f, 152f), Text = "V" + LMS_Meta.getMetaValue("VER"), RenderStyle = new GUIStyle { fontSize = 25, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 5); InitLabelDefault(AutomationLabel); InitLabelDefault(EspLabel); InitLabelDefault(Creditslabel); InitLabelDefault(MiscLabel); InitLabelDefault(Version); InitLabelDefault(MovementLabel); InitLabelDefault(FunLabel); InitLabelDefault(GUIEditorLabel); InitLabelDefault(UpdaterLabel); InitLabelDefault(_CreditsLabel); InitLabelDefault(OptText); InitLabelDefault(OptTitle); Creditslabel.SetFlags("EXTRUDE", "OUTLINE"); Version.SetFlags("OUTLINE"); Creditslabel.SetRenderMode(E_ColorFlags.FIXED); Version.SetRenderMode(E_ColorFlags.FIXED); OptText.SetRenderMode(E_ColorFlags.FIXED); OptTitle.SetRenderMode(E_ColorFlags.FIXED); OptText.SetFlags("NONE"); OptTitle.SetFlags("NONE"); }
void InitLabels() { LoggedInAs = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(0f, 68f, 500f, 134f), Text = "", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); Msgs = new LMS_GuiBaseLabel[8]; float ypos = 1f; for (int i = 0; i < Msgs.Length; i++) { LMS_GuiBaseLabel lab = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(30f, 60f + ypos * 50f, 500f, 134f), Text = "", RenderStyle = new GUIStyle { fontSize = 14, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleLeft } }, 15); lab.Constraints["viewtick"] = (int)ypos; lab.RegisterClientViewTick((view) => { try { List <LMS_Chat.ChatMsg> msg = LMS_SessionServerPeer.Instance.Chat.Messages; LMS_Chat.ChatMsg m = msg[msg.Count - lab.Constraints["viewtick"]]; lab.Config.RenderStyle.normal.textColor = LMS_SessionServerPeer.Instance.Chat[m.Type]; lab.Config.Text = LMS_GuiBaseLabelBoundaries.WrapText(LMS_Chat.FixedName(m.Prefix, m.User) + ' ' + m.Text, 16, 400f); } catch { lab.Config.Text = ""; } }, null); ypos++; InitLabelDefault(lab); lab.SetRenderMode(E_ColorFlags.FIXED); Msgs[i] = lab; } SendButtonLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(30f, 530f, 431f, 150f), Text = "Send Message", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); MsgTextFieldRenderer = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(30f, 495f, 431f, 150f), Text = "", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); InitLabelDefault(LoggedInAs); InitLabelDefault(SendButtonLabel); InitLabelDefault(MsgTextFieldRenderer); LoggedInAs.RegisterClientViewTick((view) => { LoggedInAs.Config.SetText(LMS_SessionServerPeer.Instance.Peer == null ? "dank memes kid" : "Logged in as " + LMS_SessionServerPeer.Instance.Peer.user); }, null); MsgTextFieldRenderer.RegisterClientViewTick((view) => { MsgTextFieldRenderer.Config.Text = MsgTextField.TextToRender; }, null); }
void InitLabels() { TitleLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(220f, 4f, 431f, 150f), Text = string.Format("<b>LMS {0} [<color=#83b6ef>Critical OPS</color></b>] - Main Menu", LMS_Meta.getMetaValue("VER")), RenderStyle = new GUIStyle { fontSize = 23, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); MenuDescriptionLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(315f, 65f, 431f, 150f), Text = "Combat hacks such as Aimbot, TriggerBot, etc", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); AutomationLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12.5f, 55f, 474f, 185f), Text = "Automation", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); ActiveHierarchyLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(306f, 35f, 481f, 168f), Text = "Active Hierarchy\nIf you see this then contact Lercio or MRK", RenderStyle = new GUIStyle { fontSize = 17, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); ESPLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12.5f, 100f, 474f, 227f), Text = "Esp", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); MiscLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12.5f, 160f, 474f, 227f), Text = "Misc", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); InitLabelDefault(TitleLabel); InitLabelDefault(MenuDescriptionLabel); InitLabelDefault(AutomationLabel); InitLabelDefault(ActiveHierarchyLabel); InitLabelDefault(ESPLabel); InitLabelDefault(MiscLabel); }
void InitLabels() { UsernameLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(4f, 80f, 431f, 150f), Text = "Username", RenderStyle = new GUIStyle { fontSize = 15, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); TitleLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(107f, 4f, 431f, 150f), Text = string.Format("<b>LMS {0} [<color=#83b6ef>Critical OPS</color></b>] - Authentication", LMS_Meta.getMetaValue("VER")), RenderStyle = new GUIStyle { fontSize = 23, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); UsernameRenderer = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(120f, 80f, 461f, 150f), RenderStyle = new GUIStyle { fontSize = 14, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 1); PasswordLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(4f, 120f, 431f, 150f), Text = "Password", RenderStyle = new GUIStyle { fontSize = 15, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); PasswordRenderer = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(120f, 120f, 461f, 150f), RenderStyle = new GUIStyle { fontSize = 14, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 1); LoginText = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(150f, 165f, 370f, 190f), Text = "Login", RenderStyle = new GUIStyle { fontSize = 16, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); ErrorLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(210f, 260f, 431f, 150f), Text = "ERROR HERE", RenderStyle = new GUIStyle { fontSize = 14, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleRight, normal = { textColor = Color.cyan } } }, 15); DiscordLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(10f, 185f, 340f, 250f), Text = LMS_GuiBaseLabelBoundaries.WrapText("Don't own the hack? Click here to join our discord and purchase it!", 14, 200f), RenderStyle = new GUIStyle { fontSize = 14, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); InitLabelDefault(UsernameLabel); InitLabelDefault(TitleLabel); InitLabelDefault(UsernameRenderer); InitLabelDefault(PasswordLabel); InitLabelDefault(PasswordRenderer); InitLabelDefault(LoginText); InitLabelDefault(ErrorLabel); InitLabelDefault(DiscordLabel); UsernameLabel.SetRenderMode(E_ColorFlags.FIXED); TitleLabel.SetRenderMode(E_ColorFlags.FIXED); UsernameRenderer.SetRenderMode(E_ColorFlags.FIXED); PasswordLabel.SetRenderMode(E_ColorFlags.FIXED); PasswordRenderer.SetRenderMode(E_ColorFlags.FIXED); ErrorLabel.SetRenderMode(E_ColorFlags.FIXED); DiscordLabel.SetFlags("UNDERLINE", LMS_GuiBaseLabelBoundaries.WrapText("_____ ___ ___ _____ _____ ____ __ ____ ___ _______ ___ ________ ___", 14, 200f)); }
void InitLabels() { Title = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(170f, 13f, 431f, 150f), Text = "Authentication", RenderStyle = new GUIStyle { fontSize = 23, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); SubTitle = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(171f, 63f, 431f, 150f), Text = "Please fill out the required fields below\nIf you aren't an LMS Hack subscriber,\nyou cannot use the hack!", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); UserLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(171f, 141f, 431f, 150f), Text = "Username", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); PassLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(171f, 201f, 431f, 150f), Text = "Password", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); UserTextFieldRenderer = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(165f, 174f, 452f, 134f), Text = "", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); PassTextFieldRenderer = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(165f, 235f, 452f, 134f), Text = "", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); LoginButtonLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(165f, 295f, 452f, 154f), Text = "Login", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); PurchaseButtonLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(363f, 125f, 402f, 374f), Text = "Don't own the\nhack?\nJoin our discord\nto purchase it!", RenderStyle = new GUIStyle { fontSize = 21, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.cyan } } }, 15); InitLabelDefault(Title); InitLabelDefault(SubTitle); InitLabelDefault(UserLabel); InitLabelDefault(PassLabel); InitLabelDefault(UserTextFieldRenderer); InitLabelDefault(PassTextFieldRenderer); InitLabelDefault(LoginButtonLabel); InitLabelDefault(PurchaseButtonLabel); Title.SetRenderMode(E_ColorFlags.FIXED); SubTitle.SetRenderMode(E_ColorFlags.FIXED); UserLabel.SetRenderMode(E_ColorFlags.CHROMA); PassLabel.SetRenderMode(E_ColorFlags.CHROMA); UserTextFieldRenderer.SetRenderMode(E_ColorFlags.FIXED); PassTextFieldRenderer.SetRenderMode(E_ColorFlags.FIXED); UserTextFieldRenderer.RegisterClientViewTick((view) => UserTextFieldRenderer.Config.Text = UserTextField.TextToRender, null); PassTextFieldRenderer.RegisterClientViewTick((view) => PassTextFieldRenderer.Config.Text = PassTextField.TextToRender, null); LoginButtonLabel.Disable = true; }
void InitLabels() { Creditslabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(330f, 173f, 431f, 150f), Text = "Hacks Made By\n\nLercio12\nMRKDaGods\nxXxShanGoxXx", RenderStyle = new GUIStyle { fontSize = 25, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 13); OptTitle = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(168f, 25f, 431f, 150f), Text = "TITLE", RenderStyle = new GUIStyle { fontSize = 22, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 14); OptText = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(168f, 90f, 431f, 150f), Text = "TEXT", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.white } } }, 15); Version = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(382f, 284f, 238f, 152f), Text = "V" + LMS_Meta.getMetaValue("VER"), RenderStyle = new GUIStyle { fontSize = 25, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 16); WeaponLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 30f, 431f, 150f), Text = "Weapon", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 13); ScreenLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 65f, 431f, 150f), Text = "Screen", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 13); CameraLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 100f, 431f, 150f), Text = "Camera", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 13); PlayerLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 135f, 431f, 150f), Text = "Player", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 13); msGUILabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig() { Rect = new Rect(12f, 170f, 431f, 150f), Text = "GUI", RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = new Color(190f / 255f, 211f / 255f, 33f / 255f) } } }, 13); OptInvisibleWeaponLabel = InstantiateOptionWindowChild <LMS_GuiBaseLabel>(new LMS_GuiConfig { Text = "Invisible\nWeapon", Rect = new Rect(142f, 151f, 430f, 150f), RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.green } } }); OptInvisibleWeaponToggleLabel = InstantiateOptionWindowChild <LMS_GuiBaseLabel>(new LMS_GuiConfig { Text = "Y", Rect = new Rect(247f, 151f, 200f, 146f), RenderStyle = new GUIStyle { fontSize = 19, fontStyle = FontStyle.Bold, alignment = TextAnchor.MiddleCenter, normal = { textColor = Color.green } } }); InitLabelDefault(Creditslabel); InitLabelDefault(Version); InitLabelDefault(OptText); InitLabelDefault(OptTitle); InitLabelDefault(WeaponLabel); InitLabelDefault(ScreenLabel); InitLabelDefault(CameraLabel); InitLabelDefault(PlayerLabel); InitLabelDefault(msGUILabel); InitLabelDefault(OptInvisibleWeaponLabel); InitLabelDefault(OptInvisibleWeaponToggleLabel); Creditslabel.SetFlags("EXTRUDE", "OUTLINE"); Version.SetFlags("OUTLINE"); Creditslabel.SetRenderMode(E_ColorFlags.FIXED); Version.SetRenderMode(E_ColorFlags.FIXED); OptText.SetRenderMode(E_ColorFlags.FIXED); OptTitle.SetRenderMode(E_ColorFlags.FIXED); OptInvisibleWeaponToggleLabel.SetRenderMode(E_ColorFlags.FIXED); OptInvisibleWeaponLabel.SetRenderMode(E_ColorFlags.FIXED); OptText.SetFlags("NONE"); OptTitle.SetFlags("NONE"); }