Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eventPlayerDied(name)
- local i=0
- local n
- for pname,player in pairs(tfm.get.room.playerList) do
- if not player.isDead then
- i=i+1
- n=pname
- end
- end
- if i==1 then
- tfm.exec.giveCheese(n)
- tfm.exec.playerVictory(n)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment