Advertisement
Guest User

script

a guest
Jul 1st, 2015
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. -- Mod Name by Author, v1
  2. local modname = {}
  3.  
  4. function modname.tick()
  5. local playerID = PLAYER.PLAYER_ID()
  6. local player = PLAYER.GET_PLAYER_PED(playerID)
  7. local playerPedID = PLAYER.PLAYER_PED_ID(player)
  8. local currentVehicle = PED.GET_VEHICLE_PED_IS_USING(playerID)
  9. local vehicleSpeed = ENTITY.GET_ENTITY_SPEED(currentVehicle)
  10. t = true
  11. while t == true do
  12. wait(0.1)
  13. -- 75 = k
  14. if get_key_pressed(75) then
  15. PLAYER.SET_PLAYER_INVINCIBLE(player, true)
  16.  
  17. PLAYER.SET_PLAYER_WANTED_LEVEL(player, 3, true)
  18. PLAYER.SET_PLAYER_MODEL(player, GAMEPLAY.GET_HASH_KEY(mp_m_niko_01))
  19.  
  20. end
  21. end
  22. end
  23. return ModName
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement