Advertisement
ShoopieTUBE

tfm print in game

Sep 12th, 2020 (edited)
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. MAPS = [[1
  2. 2
  3. 3]]
  4. maplist={}
  5. for map in MAPS:gmatch("[^\r\n]+") do
  6. table.insert(maplist, map)
  7. end
  8. lastmap=1
  9. tfm.exec.disableAutoNewGame()
  10. tfm.exec.bindKeyboard("B8ff#0000",66,true,true)
  11. function eventNewGame()
  12. table.foreach(tfm.get.room.playerList,tfm.exec.killPlayer)
  13. end
  14. function eventKeyboard(n,k,d,x,y)
  15. lastmap=1+lastmap
  16. tfm.exec.newGame(maplist[lastmap])
  17. end
  18. tfm.exec.newGame(maplist[lastmap])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement