SHARE
TWEET

Untitled

a guest May 31st, 2015 281 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void OnKeyUp(object sender, KeyEventArgs e)
  2.         {
  3.             if (e.KeyCode == Keys.F6)
  4.             {
  5.                 if(player.IsInVehicle())
  6.                 {
  7.                     Vehicle playersVehicle = player.CurrentVehicle;
  8.                     GTA.Math.Vector3 VPos = playersVehicle.Position;
  9.  
  10.                     playersVehicle.Repair();
  11.                     playersVehicle.CanTiresBurst = false;
  12.  
  13.                     playersVehicle.SetMod(VehicleMod.Armor, 4, true);
  14.                     playersVehicle.SetMod(VehicleMod.Engine, 3, true);
  15.                     playersVehicle.SetMod(VehicleMod.Brakes, 2, true);
  16.                     playersVehicle.SetMod(VehicleMod.Transmission, 2, true);
  17.                     playersVehicle.SetMod(VehicleMod.Suspension, 3, true);
  18.  
  19.                     playersVehicle.ToggleMod(VehicleToggleMod.Turbo, true);
  20.  
  21.                     GTA.UI.ShowSubtitle("Armour Mod: " + playersVehicle.GetMod(VehicleMod.Armor));
  22.                     Wait(1000);
  23.                     GTA.UI.ShowSubtitle("Engine Mod: " + playersVehicle.GetMod(VehicleMod.Engine));
  24.                     Wait(1000);
  25.                     GTA.UI.ShowSubtitle("Brakes Mod: " + playersVehicle.GetMod(VehicleMod.Brakes));
  26.                     Wait(1000);
  27.                     GTA.UI.ShowSubtitle("Transmission Mod: " + playersVehicle.GetMod(VehicleMod.Transmission));
  28.                     Wait(1000);
  29.                     GTA.UI.ShowSubtitle("Suspension Mod: " + playersVehicle.GetMod(VehicleMod.Suspension));
  30.                     Wait(1000);
  31.                     GTA.UI.ShowSubtitle("Turbo Mod: " + VehicleToggleMod.Turbo.ToString());                      
  32.                 }
  33.             }
  34.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top