Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addPed (Player, thePed, number)
- if (Player) then
- local x, y, z = getElementPosition (Player)
- local t = number
- for i=1,t do
- createPed (120,x+2,y,z)
- x=x+0.5
- end
- outputChatBox("Successfully created "..tostring(t).." peds")
- end
- end
- function beheadMe (Player)
- if (Player) then
- setPedHeadless(Player,true)
- end
- end
- function headMe (Player)
- if (Player) then
- setPedHeadless(Player,false)
- end
- end
- addCommandHandler ( "addped", addPed )
- addCommandHandler ( "nohead", beheadMe )
- addCommandHandler ( "head", headMe )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement