Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eventChatCommand(playerName, message)
- if message=="comandos" then
- ui.addPopup(9, 0, "<J><font color='#009D9D' size='15'><b>Comandos:</b> <b>!meep</b> - Activas el meep para ti. <b>!sham</b> - Te conviertes en chamán. <b>!vamp</b> - Te conviertes en vampiro. <b>!death</b> - Mueres. <b>!snow</b> - Empieza a nevar.", player, -100, 100, 200)
- end
- if message=="meep" then
- tfm.exec.giveMeep(playerName)
- end
- if message=="vamp" then
- tfm.exec.setVampierPlayer(playerName)
- end
- if message=="death" then
- tfm.exec.killPlayer(playerName)
- end
- if message=="snow" then
- tfm.exec.snow()
- end
- if message=="sham" then
- tfm.exec.setShaman(playerName)
- end
- if message=="black" then
- tfm.exec.setNameColor(playerName, 0x000000)
- end
- if message=="white" then
- tfm.exec.setNameColor(playerName, 0xFFFFFF)
- end
- if message=="red" then
- tfm.exec.setNameColor(playerName, 0xFF0000)
- end
- if message=="orange" then
- tfm.exec.setNameColor(playerName, 0xFF8000)
- end
- if message=="yellow" then
- tfm.exec.setNameColor(playerName, 0xFFFF00)
- end
- if message=="green" then
- tfm.exec.setNameColor(playerName, 0x00FF00)
- end
- if message=="blue" then
- tfm.exec.setNameColor(playerName, 0x0000FF)
- end
- if message=="purple" then
- tfm.exec.setNameColor(playerName, 0x660099)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement