Advertisement
Xboss_shipmake

Animation Script | CT

Feb 19th, 2020
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. function OnEverySecond(player)
  2. a = GetParkVariable(0)
  3. PlayAnimation(player,a)
  4. end
  5. function OnPlayerChat(player,text)
  6. if PlayerHasAccess(player) then
  7. if string.find(text,"!Anim:") then
  8. b = string.len(text)
  9. c = string.sub(text,7,b)
  10. SetParkVariable(0,c)
  11. end
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement