Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eventPlayerLeft(name)
- local i = 0
- for i,k in ipairs(tfm.get.room.playerList) -- counts all players that are in the room
- i = i + 1
- end
- if i == 0 then tfm.exec.newGame(0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement