Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admins = {"Tectoon"}
- tfm.exec.disableAutoNewGame(true);
- mapas={"@177652"}
- function nextRound()
- tfm.exec.disableAutoShaman(true)
- tfm.exec.newGame(mapas[math.random(#mapas)]);
- end
- function eventNewGame()
- vivo=0
- for name,player in pairs(tfm.get.room.playerList) do
- vivo=vivo+1
- end
- end
- function eventPlayerDied(name)
- vivo=vivo-1
- end
- function eventPlayerWon(name)
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.setVampirePlayer(name)
- end
- vivo=vivo-1
- ui.addTextArea("1","My egg",name,"50","50","360","100","40","500")
- end
- function eventLoop(tempoPassado, tempoFaltando)
- if vivo == 0 or tempoFaltando < 1000 then
- nextRound();
- end
- end
- nextRound();
- tfm.exec.setGameTime(361)
- ui.addTextArea(0, [[<p align='left'><vp>Test]], NIL, 5, 384, NIL, NIL, 0x000001, 0x000000, 0.6, true)
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.respawnPlayer(name)
- end
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoShaman(true)
- function eventPlayerDied(p)
- tfm.exec.respawnPlayer(p)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement