Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- easy = {"@1111111","@1111112","@1111113"}
- Easy = easy[math.random(#easy)]
- medium = {"@1111133","@1111135","@1111138"}
- Medium = medium[math.random(#medium)]
- hard = {"@1111116","@1111333","@1111152"}
- Hard = hard[math.random(#hard)]
- difficulty = {Easy,Medium,Hard}
- Difficulty = difficulty[math.random(#difficulty)]
- tfm.exec.newGame(Difficulty)
- function eventNewGame()
- if Difficulty==Easy then
- tfm.exec.setUIMapName("<J>"..tfm.get.room.xmlMapInfo.author.." <N>- <BL>@"..tfm.get.room.xmlMapInfo.mapCode.." <N>- <BV>Dificuldade: <B>Fácil</B>")
- elseif Difficulty==Medium then
- tfm.exec.setUIMapName("<J>"..tfm.get.room.xmlMapInfo.author.." <N>- <BL>@"..tfm.get.room.xmlMapInfo.mapCode.." <N>- <BV>Dificuldade: <B>Médio</B>")
- elseif Difficulty==Hard then
- tfm.exec.setUIMapName("<J>"..tfm.get.room.xmlMapInfo.author.." <N>- <BL>@"..tfm.get.room.xmlMapInfo.mapCode.." <N>- <BV>Dificuldade: <B>Difícil</B>")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement