Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Désactivez les modes difficile et divin si vous voulez faire la carte!
- tfm.exec.disableAllShamanSkills (true)
- tfm.exec.newGame ("@5149473")
- tfm.exec.setUIShamanName("-")
- tfm.exec.setUIMapName("<font color='#BAC0C7'>Carte :</font> <font color='#079B9B'>800</font>")
- function eventNewGame()
- for name,player in pairs(tfm.get.room.playerList) do
- if player.inHardMode==1 then
- ui.addTextArea(0, "Vous avez été tué car vous êtes en mode difficile et il n'existait pas à cet event, veuillez vous mettre en mode normal pour la prochaine partie!", nil, 153, 24, 500, 30, 0x000033, 0x000033, 1, true)
- tfm.exec.killPlayer (name)
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- if player.inHardMode==2 then
- ui.addTextArea(1, "Vous avez été tué car vous êtes en mode divin et il n'existait pas à cet event, veuillez vous mettre en mode normal pour la prochaine partie!", nil, 153, 24, 500, 30, 0x000033, 0x000033, 1, true)
- tfm.exec.killPlayer (name)
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.setShaman(name)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement