Advertisement
NoorTFM

The Voice

Feb 21st, 2017
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. points=0
  2.  
  3.  
  4. tfm.exec.disableAutoShaman(true)
  5. tfm.exec.disableAutoTimeLeft(true)
  6. tfm.exec.disableAfkDeath(true)
  7. tfm.exec.disableAutoNewGame(true)
  8. tfm.exec.disableAutoShaman(true)
  9.  
  10. tfm.exec.newGame('@6499780')
  11.  
  12. referee_admin="Catmusk"
  13. referee1="Catmusk"
  14. referee2="Catmusk"
  15.  
  16. tfm.exec.movePlayer(referee1,983,300)
  17. tfm.exec.playEmote(referee2,8)
  18. tfm.exec.movePlayer(referee2,930,300)
  19. tfm.exec.playEmote(referee1,8)
  20. tfm.exec.movePlayer(referee_admin,883,300)
  21. tfm.exec.playEmote(referee2_admin,8)
  22.  
  23.  
  24. ui.addTextArea(19,"<p align='center'><a href='event:go'><font color='#ffffff'><b>دخول", referee_admin,8,370,35,20,1,1,0.8,true)
  25.  
  26. ui.addTextArea(0, "", nil, 860, 330, 163, 46, 0x000000, 0x0, 1, false)
  27.  
  28.  
  29. ui.addTextArea(13, "<a href='event:texto4'><font size='10'><b>√</a>", referee1, 1000, 280, 20, 20,0x000001,0xffffff,0.f,false)
  30. ui.addTextArea(14, "<a href='event:texto5'><font size='10'><b>√</a>", referee2, 950, 280, 20, 20,0x000001,0xffffff,0.f,false)
  31. ui.addTextArea(16, "<a href='event:texto6'><font size='10'><b>√</a>", referee_admin, 900, 280, 20, 20,0x000001,0xffffff,0.f,false)
  32.  
  33.  
  34. ui.addTextArea (100,"<font size='10'><p align='center'>"..referee_admin.."</font>", nil, 750, 320, 260, 200, 0x000001, 0xffffff, 0.f, false)
  35. ui.addTextArea (101,"<font size='10'><p align='center'>"..referee2.."</font>", nil, 808, 320, 260, 200, 0x000001, 0xffffff, 0.f, false)
  36. ui.addTextArea (102,"<font size='10'><p align='center'>"..referee1.."</font>", nil, 860, 320, 260, 200, 0x000001, 0xffffff, 0.f, false)
  37.  
  38.  
  39.  
  40.  
  41. ui.addTextArea(10, "<a href='event:texto1'><font size='10'><b>X</a>", referee1, 1000, 300, 20, 20,0x000001,0xffffff,0.f,false)
  42. ui.addTextArea(11, "<a href='event:texto2'><font size='10'><b>X</a>", referee2, 950, 300, 20, 20,0x000001,0xffffff,0.f,false)
  43. ui.addTextArea(12, "<a href='event:texto3'><font size='10'><b>X</a>", referee_admin, 900, 300, 20, 20,0x000001,0xffffff,0.f,false)
  44.  
  45. function eventTextAreaCallback(id, play, callback)
  46. if callback == "texto1" then
  47. points=points-1
  48. ui.removeTextArea(3,play)
  49. ui.addTextArea(3, "<p align='center'><font size='30'><b><font color='#8E0606'> ×</font> ", nil, 981, 334, 44, 39, 0x0, 0x0, 1, false)
  50. end
  51. if callback == "texto2" then
  52. points=points-1
  53. ui.removeTextArea(2,play)
  54. ui.addTextArea(2, "<p align='center'><font size='30'><b><font color='#8E0606'> ×</font>", nil, 922, 334, 44, 39, 0x0, 0x0, 1, false)
  55. end
  56. if callback == "texto3" then
  57. points=points-1
  58. ui.removeTextArea(1,play)
  59. ui.addTextArea(1, "<p align='center'><font size='30'><b><font color='#8E0606'> ×</font>", nil, 863, 333, 44, 39, 0x0, 0x0, 1, false)
  60. end
  61. if callback == "texto4" then
  62. points=points+1
  63. ui.removeTextArea(3)
  64. ui.addTextArea(3, "<p align='center'><font size='30'><b><font color='#044E0A'> √</font>", nil, 981, 334, 44, 39, 0x0, 0x0, 1, false)
  65. end
  66. if callback == "texto5" then
  67. points=points+1
  68. ui.removeTextArea(2)
  69. ui.addTextArea(2, "<p align='center'><font size='30'><b><font color='#044E0A'> √</font>", nil, 922, 334, 44, 39, 0x0, 0x0, 1, false)
  70. end
  71. if callback == "texto6" then
  72. points=points+1
  73. ui.removeTextArea(1)
  74. ui.addTextArea(1, "<p align='center'><font size='30'><b><font color='#044E0A'> √</font>", nil, 863, 333, 44, 39, 0x0, 0x0, 1, false)
  75. end
  76. if callback == "go" then
  77. ui.addPopup(0, 2, "اكتب اسم الشحص الذي تريد صعودة لللمسرح",referee_admin, 282, 158.5, 218, true)
  78. end
  79. if callback == "sing" then
  80. tfm.exec.playEmote( playerk, 20)
  81. end
  82. end
  83.  
  84.  
  85.  
  86.  
  87.  
  88. tfm.exec.displayParticle(3,883,300)
  89. tfm.exec.displayParticle(3,983,300)
  90. tfm.exec.displayParticle(3,1320,200)
  91.  
  92. function eventPopupAnswer (id,name,answer)
  93. if id == 0 then
  94. tfm.exec.movePlayer(answer,1320,300)
  95. playerk=answer
  96. ui.addTextArea(30,"<p align='center'><a href='event:sing'><font color='#ffffff'><b>حركة الغناء", answer,740,380,60,20,1,1,0.8,true)
  97. end
  98. end
  99.  
  100.  
  101. tfm.exec.setUIMapName("The Voice");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement