Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- +----------------------------------------------------------------------------
- | SAES:RPG v1
- | ========================================
- | by SAES Scripting Team
- | (c) 2010 vces.net, All rights reserved.
- | http://www.vces.net
- | ========================================
- +-----------------------------------------------------------------------------
- | You are not allowed to adapt, copy, redistribute this script.
- | You are not allowed to use this script outside servers ran by www.vces.net
- +-----------------------------------------------------------------------------
- ]]--
- local styles={
- -- gangs / squads
- ["Sons of Anarchy Biker"]=121,
- ["Mongols MC"]=124,
- ["Mongols MC Prospect"]=54,
- ["Organization Zero"]=121,
- ["Organization Zero Nobility"]=121,
- ["Red Devils MC Patched"]=118,
- ["Red Devils MC Prospect"]=118,
- ["Tuga Thugs"]=121,
- ["Tuga Thugs Probationary"]=122,
- ["Arms Assassins"]=121,
- ["Arms Assassins Probationary"]=122,
- ["Black Syndicate"]=122,
- ["Texas ~ Cartels"]=121,
- ["CripZ~"]=121,
- ["Admin"]=123,
- ["S.W.A.T. Officer"]=69,
- ["S.W.A.T. Tactical Paramedic"]=69,
- ["SA Police Academy Trainee"]=128,
- ["SA Police Academy Officer"]=55,
- ["Texas~Cartel"]=121,
- ["SA Federal Police"]=55,
- ["SA Federal Police Elite"]=128,
- ["N.N.B. Agent"]=128,
- ["Hell Soldiers"]=121,
- ["Hell Soldiers OG"]=121,
- -- groups
- ["Enternia"]=56,
- ["Enternia HQ"]=118,
- ["raceTECH Racer"]=121,
- ["raceTECH Veteran"]=121,
- ["Cab Driver"]=118,
- ["CEO"]=118,
- -- public spawns
- ["Prostitute"]=132,
- ["Hobo"]=120,
- --[""]=,
- }
- function toggleStyle(player)
- local class=getElementData(player,"class")
- if styles[class]==nil then return end
- if getPedWalkingStyle(player)==0 then
- setPedWalkingStyle(player,styles[class])
- else
- setPedWalkingStyle(player,0)
- end
- end
- addCommandHandler("toggleWalk",toggleStyle,false,false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement