public MainClient() { PersonalVehicleController = new PersonalVehicleController(); InteractionMenu = new InteractionMenu(); InteractionMenu.CreateMenu(); API.StatSetInt((uint)API.GetHashKey("MP0_STAMINA"), 100, true); API.RegisterCommand("passive", new Action(Gameplay.PassiveMode.Enable), false); Client.Players.Colors.Setup(); WorldContent.WeaponPickups.CreatePickups(); HUD.Blips.Create(); HUD.GamerTags.Create(); API.SetRadarBigmapEnabled(false, false); playerList = new Playerlist(); wastedScreen = new WastedScreen(); Tick += OnTick; }
public ClientScript() { Player player = LocalPlayer; this.menus = new InteractionMenu(player); this.Tick += this.OnTick; }