Advertisement
Tectoon

[TFM] Comandos Lua

Sep 5th, 2015
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.56 KB | None | 0 0
  1. Mensagem com Aba
  2.  
  3. ui.addPopup(1,0,"Texto",playerName,140,110,480)
  4.  
  5. Frase no Chat
  6.  
  7. Print("Texto")
  8.  
  9. Text Area
  10.  
  11. ui.addTextArea("ID", "Texto")
  12.  
  13. Invocar Objetos Shaman
  14.  
  15. tfm.exec.addShamanObject("ID", "Posição X", "Posição Y", "Angulo", "Velocidade X", "Velocidade Y", "Ghost")
  16.  
  17. Dar Queijo
  18.  
  19. tfm.exec.giveCheese("Nome do Jogador")
  20.  
  21. Dar Meep
  22.  
  23. tfm.exec.giveMeep("Nome do Jogador")
  24.  
  25. Matar Jogador
  26.  
  27. tfm.exec.killPlayer("Nome do Jogador")
  28.  
  29. Mover Rato
  30.  
  31. tfm.exec.movePlayer("Nome do jogador", "Posição X", "Posição Y", "onset", "Velocidade X", "Velocidade Y", "onset")
  32.  
  33. Respaw
  34.  
  35. tfm.exec.respawnPlayer("Nome do Jogador")
  36.  
  37. Cor do nome
  38.  
  39. tfm.exec.setNameColor("Nome do Jogador", "Codigo da Cor)
  40.  
  41. (OBS: O codigo só funciona com NÚMEROS.)
  42.  
  43. Dar Shaman
  44.  
  45. tfm.exec.setShaman("Nome do Jogador")
  46.  
  47. Mudar a escrita onde fica o codigo do mapa
  48.  
  49. tfm.exec.setUIMapName("Texto")
  50.  
  51. Mudar a escrita onde fica o nome do Shaman
  52.  
  53. tfm.exec.setUIShamanName("Texto")
  54.  
  55. Dar Vampiro
  56.  
  57. tfm.exec.setVampirePlayer("Jogador")
  58.  
  59. Mudar Tempo da Rodada
  60.  
  61. tfm.exec.setGameTime(TempoEmSegundos)
  62.  
  63. tfm.exec.addPhysicObject(0, 400, 200, {type=12,color=math.random(0x000000, 0x697394), miceCollision=false, width=3000, height=3000})
  64.  
  65. -----------------------------------------------------------------------------------------------------------------------------------
  66.  
  67. ui.addTextArea(0, "<a href='event:abrir'>?", player, 5, 27, nil, nil,0x3C5064,0x3C5064, 1,true)
  68.  
  69.  
  70. function eventTextAreaCallback(tI, p, c)
  71. if(c == "abrir") then
  72. ui.addPopup(1, 0, "Texto",p, 275, 175, 200)
  73. end
  74. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement