Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. --[[
  2. +----------------------------------------------------------------------------
  3. | SAES:RPG v1
  4. | ========================================
  5. | by SAES Scripting Team
  6. | (c) 2010 vces.net, All rights reserved.
  7. | http://www.vces.net
  8. | ========================================
  9. +-----------------------------------------------------------------------------
  10. | You are not allowed to adapt, copy, redistribute this script.
  11. | You are not allowed to use this script outside servers ran by www.vces.net
  12. +-----------------------------------------------------------------------------
  13. ]]--
  14.  
  15. local styles={
  16. -- gangs / squads
  17. ["Sons of Anarchy Biker"]=121,
  18. ["Mongols MC"]=124,
  19. ["Mongols MC Prospect"]=54,
  20. ["Organization Zero"]=121,
  21. ["Organization Zero Nobility"]=121,
  22. ["Red Devils MC Patched"]=118,
  23. ["Red Devils MC Prospect"]=118,
  24. ["Tuga Thugs"]=121,
  25. ["Tuga Thugs Probationary"]=122,
  26. ["Arms Assassins"]=121,
  27. ["Arms Assassins Probationary"]=122,
  28. ["Black Syndicate"]=122,
  29. ["Texas ~ Cartels"]=121,
  30. ["CripZ~"]=121,
  31. ["Admin"]=123,
  32. ["S.W.A.T. Officer"]=69,
  33. ["S.W.A.T. Tactical Paramedic"]=69,
  34. ["SA Police Academy Trainee"]=128,
  35. ["SA Police Academy Officer"]=55,
  36. ["Texas~Cartel"]=121,
  37. ["SA Federal Police"]=55,
  38. ["SA Federal Police Elite"]=128,
  39. ["N.N.B. Agent"]=128,
  40. ["Hell Soldiers"]=121,
  41. ["Hell Soldiers OG"]=121,
  42.  
  43. -- groups
  44.  
  45. ["Enternia"]=56,
  46. ["Enternia HQ"]=118,
  47. ["raceTECH Racer"]=121,
  48. ["raceTECH Veteran"]=121,
  49. ["Cab Driver"]=118,
  50. ["CEO"]=118,
  51.  
  52. -- public spawns
  53.  
  54. ["Prostitute"]=132,
  55. ["Hobo"]=120,
  56. --[""]=,
  57.  
  58. }
  59.  
  60.  
  61. function toggleStyle(player)
  62. local class=getElementData(player,"class")
  63. if styles[class]==nil then return end
  64. if getPedWalkingStyle(player)==0 then
  65. setPedWalkingStyle(player,styles[class])
  66. else
  67. setPedWalkingStyle(player,0)
  68. end
  69. end
  70. addCommandHandler("toggleWalk",toggleStyle,false,false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement