Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Tabelas
- admins={"Kombizinha","Mitoluizmice"}
- -- Variaveis
- rt=0;
- -- Inicio Do Script
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoScore(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAfkDeath(true)
- -- Funções
- function newRound()
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- function eventNewGame()
- vivo=0;
- for name,player in pairs(tfm.get.room.playerList) do
- vivo=vivo+1;
- end
- end
- function eventChatCommand(p,c)
- if c == [[rotation]] then
- rt=rt+1;
- elseif c == [[rotation off]] then
- rotationonline=rotationonline-1;
- if rt==2 then
- rt=rt-1;
- end
- end
- end
- -- Nova Rodada
- newRound();
- -- Loop
- function eventLoop(ct,tr)
- if vivo == 0 or tr == 0 and rt=1 then
- newRound();
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement