Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAPS = [[1
- 2
- 3]]
- maplist={}
- for map in MAPS:gmatch("[^\r\n]+") do
- table.insert(maplist, map)
- end
- lastmap=1
- tfm.exec.disableAutoNewGame()
- tfm.exec.bindKeyboard("B8ff#0000",66,true,true)
- function eventNewGame()
- table.foreach(tfm.get.room.playerList,tfm.exec.killPlayer)
- end
- function eventKeyboard(n,k,d,x,y)
- lastmap=1+lastmap
- tfm.exec.newGame(maplist[lastmap])
- end
- tfm.exec.newGame(maplist[lastmap])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement