public static void Start() { gvar.SHUTDOWN++; while (true) { if (gvar.isShuttingDown) { gvar.SHUTDOWN--; break; } Thread.Sleep(1); if (!Local.InGame) { continue; } else { Thread.Sleep(100); } Triggerbot.Start(); SkinChanger.Start(); Local.NoArms = Settings.userSettings.VisualSettings.NoHands; Local.Flash = Settings.userSettings.MiscSettings.FlashAlpha; Local.PostProcessingDisable = Settings.userSettings.MiscSettings.NoPostProcessing; ClanTagChanger.Start(); Rank.Start(); ChatSpammer.Start(); if (Settings.userSettings.VisualSettings.NoScope) { if (Local.Scoped) { Local.Scoped = false; } } if (Settings.userSettings.VisualSettings.NoScope) { if (Local.ActiveWeapon.ScopeLevel == 0) { Local.DrawViewModel = true; Local.Fov = Settings.userSettings.MiscSettings.Fov; } else if (Local.ActiveWeapon.ScopeLevel == 1) { if (Local.ActiveWeapon.WeaponID != 8 && Local.ActiveWeapon.WeaponID != 39) { Local.DrawViewModel = false; } Local.Fov = 40; } else if (Local.ActiveWeapon.ScopeLevel == 2) { Local.DrawViewModel = false; Local.Fov = 10; } else { Local.DrawViewModel = true; Local.Fov = Settings.userSettings.MiscSettings.Fov; } } else { if (!Local.Scoped) { Local.DrawViewModel = true; Local.Fov = Settings.userSettings.MiscSettings.Fov; } else if (Local.ActiveWeapon.ScopeLevel == 1) { if (Local.ActiveWeapon.WeaponID != 8 && Local.ActiveWeapon.WeaponID != 39) { Local.DrawViewModel = false; } Local.Fov = 40; } else if (Local.ActiveWeapon.ScopeLevel == 2) { Local.DrawViewModel = false; Local.Fov = 10; } else { Local.DrawViewModel = true; Local.Fov = Settings.userSettings.MiscSettings.Fov; } } if (Settings.userSettings.MiscSettings._3rdPerson) { if ((WinAPI.GetAsyncKeyState(Settings.userSettings.MiscSettings._3rdPersonKey) & 0x1) > 0) { Local.ThirdPerson = !Local.ThirdPerson; } } else if (Local.ThirdPerson) { Local.ThirdPerson = false; } } }