Tectoon

[TFM] Modo Fantasma

May 5th, 2015
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. system.bindMouse("Tectoon", true)
  2. tfm.exec.bindKeyboard("Tectoon",49,false,true)
  3.  
  4. function eventMouse(name, x, y)
  5. tfm.exec.displayParticle(10, x, y, 0, 0, 0, 0, nil)
  6. tfm.exec.respawnPlayer(name, x, y)
  7. tfm.exec.movePlayer(name, x, y);
  8. end
  9.  
  10. function eventNewPlayer(playerName)
  11. tfm.exec.respawnPlayer(playerName)
  12. end
  13.  
  14. function eventKeyboard(name,key,down,x,y)
  15. if key==49 then
  16. tfm.exec.displayParticle(10, x, y, 0, 0, 0, 0, nil)
  17. tfm.exec.killPlayer("Tectoon")
  18. end
  19. end
  20.  
  21. tfm.exec.disableAutoShaman(true)
  22. tfm.exec.newGame("5295517")
  23. tfm.exec.disableAutoNewGame(true)
Advertisement
Add Comment
Please, Sign In to add comment