Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.disableAutoShaman(true)
- shaman=nil
- function eventNewGame()
- tfm.exec.setShaman(shaman)
- end
- function newRound(map)
- if not map then map = 0 end
- local topScore=-1
- for name,player in pairs(tfm.get.room.playerList) do
- if player.score>topScore and not player.isShaman then
- topScore=player.score
- shaman=players[name]
- end
- end
- tfm.exec.newGame(map)
- end
- newRound()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement