Advertisement
NathNath

Untitled

Sep 28th, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.87 KB | None | 0 0
  1. function eventChatCommand(playerName, message)
  2.         if message=="comandos" then
  3.                 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)
  4.         end
  5.         if message=="meep" then
  6.                 tfm.exec.giveMeep(playerName)
  7.         end
  8.         if message=="vamp" then
  9.                 tfm.exec.setVampierPlayer(playerName)
  10.         end
  11.         if message=="death" then
  12.                 tfm.exec.killPlayer(playerName)
  13.         end
  14.         if message=="snow" then
  15.                 tfm.exec.snow()
  16.         end
  17.         if message=="sham" then
  18.                 tfm.exec.setShaman(playerName)
  19.         end
  20.         if message=="black" then
  21.                 tfm.exec.setNameColor(playerName, 0x000000)
  22.         end
  23.         if message=="white" then
  24.                 tfm.exec.setNameColor(playerName, 0xFFFFFF)
  25.         end
  26.         if message=="red" then
  27.                 tfm.exec.setNameColor(playerName, 0xFF0000)
  28.         end
  29.         if message=="orange" then
  30.                 tfm.exec.setNameColor(playerName, 0xFF8000)
  31.         end
  32.         if message=="yellow" then
  33.                 tfm.exec.setNameColor(playerName, 0xFFFF00)
  34.         end
  35.         if message=="green" then
  36.                 tfm.exec.setNameColor(playerName, 0x00FF00)
  37.         end
  38.         if message=="blue" then
  39.                 tfm.exec.setNameColor(playerName, 0x0000FF)
  40.         end
  41.         if message=="purple" then
  42.                 tfm.exec.setNameColor(playerName, 0x660099)
  43.         end
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement