lopezloo

onClientPedWeaponFire: source model change

Feb 15th, 2015
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local badass = Ped(0, 0, 0, 4)
  2. givePedWeapon(badass, 38, 99999, true)
  3. setPedControlState(badass, "fire", true)
  4.  
  5. addEventHandler("onClientPedWeaponFire", root,
  6.     function()
  7.         outputChatBox("triggered")
  8.         source.model = 7
  9.     end
  10. )
Advertisement
Add Comment
Please, Sign In to add comment