Advertisement
Abel_Software

GTA V LUA Modding: Car Spawning

Nov 28th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. --In this script I will show you how to spawn a vehicle in GTA V with LUA!
  2. --In this script I spawn the Unmarked Police Cruiser! I will work on posting all car hashes!
  3.  
  4.  
  5. -- CarSpawning by Abel Software, v1
  6. local CarSpawning = {}
  7.  
  8. function CarSpawning.tick()
  9. local playerID - PLAYER.PLAYER_ID()
  10. --Car Spawning Code Begins
  11. if get_key_pressed(Keys.F5) then
  12. Vehicle.Create_Vehicle(Hash 8A63C7B9, float x, float y, float z, float heading, BOOL networkHandle, BOOL vehiclehandle)
  13. end
  14. --Car Spawning Code Ends
  15. end
  16. return Car Spawning
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement