Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAfkDeath(true)
- tfm.exec.disableAutoNewGame(true)
- maplist = {4660408, 3828508}
- maps = maplist[math.random(#maplist)]
- function module_mirrorGen()
- local i = math.random(15)
- if i <= 9 then
- arg = true
- else
- arg = false
- end
- return arg
- end
- function module_newRound(map)
- g = module_mirrorGen()
- tfm.exec.newGame(map, g)
- end
- function eventLoop(time, rem)
- if rem <= 0 then
- module_newRound(maps)
- end
- end
- function eventPlayerDied(name)
- tfm.exec.respawnPlayer(name)
- end
- function eventNewGame()
- tfm.exec.setGameTime(360)
- end
- module_newRound(maps)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement