Advertisement
Bolodefchoco_LUAXML

[Script] Coordinates Update

Dec 17th, 2016
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. --Creator: Bolodefchoco
  2. --Made in: 17/12/2016
  3. --Last update: 17/12/2016
  4. --[[ Notes:
  5.     Does:
  6.         Coordenadas dos jogadores são atualizadas rapidamente
  7. ]]--
  8.  
  9. eventNewPlayer = function(n)
  10.     for k = 0,200 do
  11.         system.bindKeyboard(n,k,true,true)
  12.     end
  13. end
  14. table.foreach(tfm.get.room.playerList,eventNewPlayer)
  15.  
  16. eventKeyboard = function(n,k,d,x,y)
  17.     tfm.get.room.playerList[n].x = x
  18.     tfm.get.room.playerList[n].y = y
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement