Abel_Software

GTA V LUA Modding: Model Changing

Nov 28th, 2015
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. -- In this script I will show how to change your model. I just use a FBI Agent, but I will later post a list of all peds!
  2.  
  3. -- ModelChange by Abel Software, v1
  4. local ModelChange = {}
  5.  
  6. function ModelChange.tick()
  7. local playerID - PLAYER.PLAYER_ID()
  8.  
  9. --Model Change Script Begins
  10. if get_key_pressed(Keys.F5) then
  11. PLAYER.SET_PLAYER_MODEL(player, GAMEPLAY.GET_HASH_KEY("mp_m_fibsec_01"))
  12. end
  13. --Model Change Script Ends
  14.  
  15. end
  16. return ModelChange
Advertisement
Add Comment
Please, Sign In to add comment