Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin="Ssserekpll","Wiktorrosik"
- system.disableChatCommandDisplay("hej",true)
- tfm.exec.disableAutoShaman(true)
- gra={}
- function eventChatCommand(nick, com)
- if com=="hej" then
- tfm.exec.newGame(mapy[math.random(#mapy)])
- tfm.exec.setUIMapName("#Walljump")
- tfm.exec.setNameColor("Ssserekpll", 0x0000FF)
- tfm.exec.setNameColor("Wiktorrosik", 0x00FF00)
- end
- end
- ----------------------------------------------
- mapy={'@4060170','@810610'}
- tfm.exec.disableAutoNewGame(true)
- function eventLoop(t1,t2)
- A01=0
- for v,nicks in pairs(tfm.get.room.playerList) do
- if nicks.isDead~=true then
- A01=1
- end
- end
- if A01~=1 or t2<1 then
- tfm.exec.newGame(mapy[math.random(#mapy)])
- tfm.exec.setUIMapName("#Walljump")
- tfm.exec.setNameColor("Ssserekpll", 0x0000FF)
- tfm.exec.setNameColor("Wiktorrosik", 0x00FF00)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement