Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version = "FR 1.5"
- moderateur = "Izzeberg"
- tfm.exec.setUIMapName("<RP>IOS !Commande V. "..version.." by Izzeberg tapez !aide pour plus d'info <p")
- function eventNewPlayer(name)
- ui.addPopup(1, 0, "Bonjour,Bonsoir ".. name ..".<br>Bienvenue dans IOS !Commande v."..version.." tapez !aide pour voir les commandes disponibles !", pseudo, 150, 75, 500);
- end
- function eventChatCommand(name,command)
- if command == "fromage" then
- tfm.exec.giveCheese(name)
- end
- if command == "bombe" then
- tfm.exec.addShamanObject(23, math.random(0, 800), math.random(0, 400), 0, 0, 0, false)
- end
- if command == "explosion" then
- tfm.exec.explosion (math.random (0,800), math.random(0, 400), 5,0, 10,0, true)
- end
- if command == "trou" then
- tfm.exec.playerVictory (name)
- end
- if command == "fireworks" then
- tfm.exec.displayParticle (0, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
- tfm.exec.displayParticle (1, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
- tfm.exec.displayParticle (2, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
- tfm.exec.displayParticle (4, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
- tfm.exec.displayParticle (11, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
- tfm.exec.displayParticle (13, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
- end
- if command == "meep" then
- tfm.exec.giveMeep (name)
- end
- if command == "mort" then
- tfm.exec.killPlayer (name)
- end
- if command == "vampire" then
- tfm.exec.setVampirePlayer (name)
- end
- if command == "stop" then
- if name == ""..moderateur.."" then
- system.exit ()
- end
- end
- if command == "neige" then
- tfm.exec.snow (60, 10)
- end
- if command == "chamane" then
- tfm.exec.setShaman (name)
- end
- if command == "aide close" then
- ui.removeTextArea (0, nil)
- end
- if command == "aide" then
- ui.addTextArea (0,"<br><br>modérateur du module : "..moderateur.. "<br>IOS !Commande V."..version.." <br>Commande : <br>!fromage : vous donne le fromage.<br>!trou : vous fait gagner.<br>!mort : vous fait mourir.<br>!vampire : vous transforme en vampire. <br>!chamane : vous transforme en chamane.<br>!aide : ouvre l’aide.<br>!aide close : ferme l’aide.<br>!neige : fait tomber de la neige.<br>!meep : vous donne la posibilité de meep.<br>!bombe : lance une bombe sur la map.<br>!fireworks : provoque un feux d’artifice.<br>!explosion : provoque une explosion.<br>!stop : arrete le module (réserver à "..moderateur.."). <br><br>", name, 50, 50, 400, 400, 0x000001, 0xFFFFFF, 0.8, true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement