Advertisement
tjackisen

C# GTA IV Spawn Vehicle - Warp Into

Mar 20th, 2013
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1. // Code to help beginners
  2. // tjackiseN 2013
  3.  
  4. Vector3 vehPos = Player.Character.Position.Around(5.0f);
  5. Vehicle v = World.CreateVehicle(new Model("NRG900"), vehPos);
  6.  
  7. Player.Character.WarpIntoVehicle(v, VehicleSeat.Driver);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement