Advertisement
Tmrectop

[Module] Noël 800

Jul 6th, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.06 KB | None | 0 0
  1. -- Désactivez les modes difficile et divin si vous voulez faire la carte!
  2.  
  3. tfm.exec.disableAllShamanSkills (true)
  4. tfm.exec.newGame ("@5149473")
  5. tfm.exec.setUIShamanName("-")
  6. tfm.exec.setUIMapName("<font color='#BAC0C7'>Carte :</font> <font color='#079B9B'>800</font>")
  7.  
  8. function eventNewGame()
  9. for name,player in pairs(tfm.get.room.playerList) do
  10. if player.inHardMode==1 then
  11. 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)
  12. tfm.exec.killPlayer (name)
  13. end
  14. end
  15.  
  16. for name,player in pairs(tfm.get.room.playerList) do
  17. if player.inHardMode==2 then
  18. 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)
  19. tfm.exec.killPlayer (name)
  20. end
  21. end
  22.  
  23. for name,player in pairs(tfm.get.room.playerList) do
  24. tfm.exec.setShaman(name)
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement