Dudugz-Contistente

Untitled

Jan 3rd, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. -- cria a variavel tmp = os.time() no eventNewPlayer lá np p[name]={}
  2.  
  3. function eventKeyboard(name,key,down,x,y)
  4. if key == 32 and tfm.get.room.playerList[name].isVampire and p[name].tmp < os.time()-3000 then
  5. tfm.exec.movePlayer(name,0,0,true,0,-50,true)
  6. end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment