Exemplo n.º 1
0
 public async void Update()
 {
     //Playerlist.Loop();
     RadarController();
     Chat.Update();
     blipController.Update();
 }
Exemplo n.º 2
0
 private void OnTick(object sender, EventArgs e)
 {
     // Process menus
     UIController.Update();
     KillController.Update();
     VehicleController.Update();
     BlipController.Update();
     UIController.TimerBarPool.Draw();
     if (CameraController.CurrentCamera != null)
     {
         //DebugInfo.Bar1.Text = Math.Round(CameraManager.CurrentCamera.Rotation.X, 2).ToString() + ", " + Math.Round(CameraManager.CurrentCamera.Rotation.Y, 2).ToString() + ", " + Math.Round(CameraManager.CurrentCamera.Rotation.Z, 2).ToString();
         //DebugInfo.Bar2.Text = Math.Round(CameraManager.CurrentCamera.Position.X, 2).ToString() + ", " + Math.Round(CameraManager.CurrentCamera.Position.Y, 2).ToString() + ", " + Math.Round(CameraManager.CurrentCamera.Position.Z, 2).ToString();
     }
 }