Advertisement
Tony_PlySon

[FUNCTION] walk(cid, delay)

May 15th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. function walk(cid, delay)
  2. local antpos = nil
  3.  
  4. if isCreature(cid) then
  5.  
  6. antpos = getPlayerPosition(cid)
  7. end
  8.  
  9. if antpos ~= getPlayerPosition(cid) then
  10.  
  11. return true
  12. end
  13. return false
  14. addEvent(walk, delay, cid)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement