Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function setPedWalkStyle(thePlayer,_, id)
- if getElementType(thePlayer) =="player" then
- if tonumber(id) >= 0 and tonumber(id) <= 138 then
- setPedWalkingStyle (thePlayer, tonumber(id))
- outputChatBox("You've successfuly changed your Walking style to ID "..id.." !", thePlayer, 0, 255, 0)
- end
- end
- end
- addCommandHandler("setwalkstyle", setPedWalkStyle)
- tbl = {
- {0 ,54 ,55 ,56 ,57 ,58 ,59 ,60 ,61 ,62 ,63 ,64 ,65 ,66 ,67 ,68 ,69 ,70 ,118 ,119 ,120 ,121 ,122 ,123 ,124 ,125 ,126 ,127 ,128 ,129 ,130 ,131 ,132 ,133 ,134 ,135 ,136 ,137 ,138 },
- }
- function outputT ()
- for i , v in pairs(tbl) do
- outputChatBox("WalkStyles ID Are" ..v[1].. "," ..v[2].. "," ..v[3].. "," ..v[4])
- end
- end
- addCommandHandler("walkstyles",outputT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement