Advertisement
suxonov

Untitled

Apr 13th, 2019
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. function eventPlayerLeft(name)
  2. local i = 0
  3. for i,k in ipairs(tfm.get.room.playerList) -- counts all players that are in the room
  4. i = i + 1
  5. end
  6. if i == 0 then tfm.exec.newGame(0)
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement