Advertisement
Dudugz-Contistente

Untitled

Aug 22nd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.92 KB | None | 0 0
  1. tfm.exec.disableAfkDeath()
  2. tfm.exec.disableMortCommand()
  3. tfm.exec.disableAutoNewGame()
  4. tfm.exec.disableAutoShaman()
  5. tfm.exec.disableAutoTimeLeft()
  6. tfm.exec.disableAutoScore()
  7. tfm.exec.setGameTime(99999)
  8.  
  9. data={}
  10.  
  11. adm = "Shiobausamak"
  12. chover=false
  13. tp=false
  14.  
  15. local particula = tfm.exec.displayParticle
  16. local piso = tfm.exec.addPhysicObject
  17.  
  18. maps = {"@7166299", "@7166675", "@7170921", "@7161280", "@7207388", "@7224191"}
  19. cordas = {
  20. type = 12, -- tipo do piso
  21. color = 0x000000, -- cor do piso
  22. width = 5000, -- tamanho do piso(largura)
  23. height = 10, -- tamanho do piso(altura)
  24. angle = -35,
  25. miceCollision = false -- Colisão com os ratos(false para não colidir, true para colidir)
  26. }
  27. cordas1 = {
  28. type = 12, -- tipo do piso
  29. color = 0x000000, -- cor do piso
  30. width = 5000, -- tamanho do piso(largura)
  31. height = 10, -- tamanho do piso(altura)
  32. angle = 35,
  33. miceCollision = false -- Colisão com os ratos(false para não colidir, true para colidir)
  34. }
  35. function eventKeyboard(soldado, key, down, x, y)
  36. name=soldado
  37. if key == 69 then
  38. player=tfm.get.room.playerList[name]
  39. if (2970 >= player.x - 20 and 2970 <= player.x + 20 and 7930 >= player.y - 20 and 7930 <= player.y + 20) and data[name].cannon < os.time()-10000 then
  40. tfm.exec.addShamanObject(17,3030,7945,110)
  41. particula(3,2990,7935)
  42. data[name].cannon=os.time();
  43. end
  44. end
  45.  
  46. if key == 17 and name == adm then
  47. if tp == false then tp=true elseif tp == true then tp=false end
  48. end
  49.  
  50. if key == 88 then
  51. player=tfm.get.room.playerList[name]
  52. direita=player.isFacingRight
  53. if direita and data[name].press < os.time()-5000 then
  54. tfm.exec.movePlayer(name,0,0,false,75,0,true)
  55. particula(35, x-20, y, name)
  56. data[name].press=os.time();
  57. elseif data[name].press < os.time()-5000 then
  58. tfm.exec.movePlayer(name,0,0,false,-75,0,true)
  59. particula(35, x+20, y, name)
  60. data[name].press=os.time();
  61. end
  62. end
  63. if key == 72 then
  64. tfm.exec.movePlayer(soldado,0, 0, true, -100, -75, false)
  65. piso(100,x-1630,y-1140,cordas1)
  66. particula(3, x, y, soldado)
  67. elseif key == 75 then
  68. tfm.exec.movePlayer(soldado, 0, 0, true, 100, -75, false)
  69. piso(100,x+1630,y-1140,cordas)
  70. particula(3, x, y, soldado)
  71. end
  72. end
  73.  
  74. function eventNewPlayer(name)
  75. data[name]={
  76. press=0,
  77. cannon=0,
  78. }
  79. system.bindKeyboard(name,69,true)
  80. tfm.exec.respawnPlayer(name)
  81. end
  82.  
  83. function eventNewGame()
  84. eventMouse(nil,400,200)
  85. for i = 1,51 do
  86. tfm.exec.addShamanObject(3, -500, 2800)
  87. end
  88. end
  89.  
  90. function eventPlayerDied(name)
  91. tfm.exec.respawnPlayer(name)
  92. end
  93.  
  94. function eventDataBase()
  95. tfm.exec.disableAfkDeath()
  96. tfm.exec.disableAutoShaman()
  97. tfm.exec.disableAutoNewGame()
  98. tfm.exec.disableAutoTimeLeft()
  99. tfm.exec.disableAutoScore()
  100. tfm.exec.setGameTime(99999)
  101. end
  102.  
  103. for name in pairs(tfm.get.room.playerList) do
  104. eventNewPlayer(name)
  105. end
  106.  
  107. actived={}
  108.  
  109. function split(t,s)
  110. local a={}
  111. for i,v in string.gmatch(t,string.format("[^%s]+",s or "%s")) do
  112. table.insert(a,i)
  113. end
  114. return a
  115. end
  116.  
  117. system.bindMouse(adm)
  118. system.bindKeyboard(adm,17,true)
  119.  
  120. function eventLoop()
  121. if chover then
  122. for k = 20,0,-1 do
  123. tfm.exec.displayParticle(14,math.random(-100,1000),math.random(50,100),0,math.random(1.1),0,math.random(0.22))
  124. tfm.exec.displayParticle(14,math.random(0,2000),math.random(50,100),0,math.random(1.1),0,math.random(0.22))
  125. tfm.exec.displayParticle(14,math.random(1000,3000),math.random(50,100),0,math.random(1.1),0,math.random(0.22))
  126. tfm.exec.displayParticle(14,math.random(1000,4000),math.random(50,100),0,math.random(1.1),0,math.random(0.22))
  127. end
  128. end
  129. end
  130.  
  131. function eventChatCommand(name,cmd)
  132. local arg = split(cmd, " ")
  133.  
  134. if arg[1] == "tp" and arg[2] and name == adm then
  135. if arg[2] then
  136. nome = arg[2]:lower():gsub('%a', string.upper, 1)
  137. local adminCoords={x=tfm.get.room.playerList[adm].x,y=tfm.get.room.playerList[adm].y}
  138. --local playerCoords={x=tfm.get.room.playerList[nome].x,y=tfm.get.room.playerList[nome].y}
  139. tfm.exec.movePlayer(nome,adminCoords.x,adminCoords.y,false)
  140. end
  141. end
  142. if arg[1] == "map" and name == adm then
  143. tfm.exec.newGame(maps[math.random(#maps)])
  144. eventDataBase()
  145. chover=false
  146. end
  147.  
  148. if arg[1] == "map2" and name == adm then
  149. tfm.exec.newGame('@7199407')
  150. eventDataBase()
  151. chover=false
  152. end
  153.  
  154. if arg[1] == "map3" and name == adm then
  155. tfm.exec.newGame('<C><P F="0" Ca="" L="9000" H="9000" /><Z><S><S H="278" L="600" X="5457" c="4" Y="8978" T="6" P="0,0,0.3,0.2,-20,0,0,0" /><S P="0,0,0.3,0.2,-20,0,0,0" L="77" o="324650" H="10" Y="8899" T="12" X="569" /><S L="300" o="324650" H="10" X="753" Y="8887" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S X="753" L="300" H="200" c="4" Y="8982" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,-20,0,0,0" L="473" H="389" c="4" Y="9145" T="5" X="446" /><S L="80" o="10be74" X="121" H="50" Y="8802" T="12" P="0,0,0.3,0.2,-30,0,0,0" /><S L="80" o="10be74" X="1881" H="50" Y="8752" T="12" P="0,0,0.3,0.2,-30,0,0,0" /><S L="80" o="10be74" X="2086" H="50" Y="8752" T="12" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" H="50" X="1500" Y="8975" T="10" P="0,0,0.3,0,0,0,0,0" /><S P="0,0,0.3,0.2,30,0,0,0" L="80" o="10be74" X="326" Y="8801" T="12" H="50" /><S L="3000" H="50" X="4500" Y="8975" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S H="150" L="300" o="6f8d72" X="223" c="4" Y="8875" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="160" o="10be74" H="40" X="1983" Y="8731" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,30,0,0,0" L="80" o="10be74" H="50" Y="8801" T="12" X="1206" /><S L="80" o="10be74" H="50" X="1001" Y="8802" T="12" P="0,0,0.3,0.2,-30,0,0,0" /><S H="200" L="300" o="6f8d72" X="1983" c="4" Y="8850" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="160" o="10be74" H="40" X="223" Y="8780" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" o="10be74" H="50" X="1632" Y="8652" T="12" P="0,0,0.3,0.2,30,0,0,0" /><S P="0,0,0.3,0.2,-30,0,0,0" L="80" o="10be74" X="1428" Y="8651" T="12" H="50" /><S P="0,0,0,0.2,0,0,0,0" L="14" o="f220d" H="10" Y="8750" T="13" X="2993" /><S L="14" o="f220d" X="2907" H="10" Y="8750" T="13" P="0,0,0,0.2,0,0,0,0" /><S H="150" L="300" o="6f8d72" X="1103" c="4" Y="8875" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="160" o="10be74" X="1103" H="40" Y="8780" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="300" o="6f8d72" X="1530" c="4" Y="8800" T="12" H="300" /><S L="115" o="f220d" X="2950" H="200" Y="8850" T="12" P="0,0,0,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,30,0,0,0" L="80" o="10be74" H="50" Y="8751" T="12" X="3782" /><S P="0,0,0.3,0.2,0,0,0,0" L="160" o="10be74" H="40" Y="8630" T="12" X="1530" /><S H="60" L="37" o="2b280d" X="163" c="4" Y="8920" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,-30,0,0,0" L="80" o="10be74" H="50" Y="8751" T="12" X="3577" /><S X="2950" L="1000" H="100" c="1" N="" Y="8450" T="10" P="0,0,0.3,0,90,0,0,0" /><S H="10" L="10" o="17242a" X="2966" c="4" Y="7928" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="60" L="37" o="2b280d" X="1161" c="4" Y="8920" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="37" o="2b280d" X="1530" c="4" Y="8920" T="12" H="60" /><S P="0,0,0.3,0.2,0,0,0,0" L="113" o="10be74" H="40" Y="8713" T="12" X="762" /><S P="0,0,0.3,0.2,-30,0,0,0" L="80" o="10be74" X="685" Y="8734" T="12" H="50" /><S H="60" L="37" o="2b280d" X="1923" c="4" Y="8920" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" o="10be74" H="50" X="841" Y="8734" T="12" P="0,0,0.3,0.2,30,0,0,0" /><S H="18" L="55" o="17242a" X="2991" c="4" Y="7927" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S H="10" L="11" o="4c4215" X="2974" c="4" Y="7940" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" X="7500" H="50" Y="8975" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="250" o="6f8d72" X="763" c="4" Y="8807" T="12" H="150" /><S P="0,0,0.3,0.2,0,0,0,0" L="37" o="2b280d" X="830" c="4" Y="8853" T="12" H="60" /><S P="0,0,0.3,0.2,0,0,0,0" L="300" o="6f8d72" X="3680" c="4" Y="8850" T="12" H="200" /><S P="0,0,0.3,0.2,0,0,0,0" L="37" o="2b280d" X="3760" c="4" Y="8920" T="12" H="60" /><S P="0,0,0.3,0.2,0,0,0,0" L="160" o="10be74" X="3679" Y="8730" T="12" H="40" /><S L="80" o="10be74" H="50" X="4733" Y="8754" T="12" P="0,0,0.3,0.2,30,0,0,0" /><S L="160" o="10be74" X="4632" H="40" Y="8732" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" o="10be74" H="50" X="4529" Y="8754" T="12" P="0,0,0.3,0.2,-30,0,0,0" /><S H="200" L="300" o="6f8d72" X="4631" c="4" Y="8850" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S H="60" L="37" o="2b280d" X="4574" c="4" Y="8920" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="57b75c" X="7496" c="4" Y="8713" T="13" H="10" /><S P="0,0,0.3,0.2,0,0,0,0" L="78" o="d1c0b" X="7380" c="4" Y="8751" T="12" H="400" /><S L="80" o="10be74" H="50" X="6675" Y="8751" T="12" P="0,0,0.3,0.2,30,0,0,0" /><S H="10" L="97" o="469f4b" X="7530" c="4" Y="8644" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="160" o="10be74" X="6573" H="40" Y="8730" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="57b75c" X="7431" c="4" N="" Y="8494" T="13" H="10" /><S L="80" o="10be74" H="50" X="6471" Y="8751" T="12" P="0,0,0.3,0.2,-30,0,0,0" /><S H="10" L="97" o="449a48" X="7387" c="4" N="" Y="8423" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="3dae43" X="7022" c="4" Y="8691" T="13" H="10" /><S H="200" L="300" o="284322" X="6573" c="4" Y="8850" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="3dae43" X="7337" c="4" N="" Y="8487" T="13" H="10" /><S H="60" L="37" o="2b280d" X="6612" c="4" Y="8919" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S H="306" L="78" o="d1c0b" X="7171" c="4" N="" Y="8798" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="143" o="d1c0b" H="24" X="7067" Y="8705" T="12" P="0,0,1,0.2,10,0,0,0" /><S P="0,0,1,0.2,-20,0,0,0" L="143" o="d1c0b" X="7272" Y="8738" T="12" H="24" /><S H="10" L="97" o="57b75c" X="7100" c="4" N="" Y="8580" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="449a48" X="7167" c="4" N="" Y="8498" T="13" H="10" /><S H="10" L="40" o="3dae43" X="7307" c="4" Y="8708" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="78" o="d1c0b" X="7546" c="4" Y="8813" T="12" H="280" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="349939" X="7603" c="4" Y="8691" T="13" H="10" /><S H="10" L="97" o="57b75c" X="7252" c="4" N="" Y="8531" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="10" L="97" o="3dae43" X="7209" c="4" N="" Y="8585" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="10" L="40" o="449a48" X="7323" c="4" N="" Y="8728" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="57b75c" X="7278" c="4" N="" Y="8734" T="13" H="10" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="3dae43" X="7516" c="4" Y="8600" T="13" H="10" /><S H="10" L="40" o="449a48" X="7006" c="4" N="" Y="8703" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="449a48" X="7542" c="4" Y="8614" T="13" H="10" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="57b75c" X="7050" c="4" N="" Y="8708" T="13" H="10" /><S L="143" o="d1c0b" X="7483" H="24" Y="8632" T="12" P="0,0,1,0.2,-10,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="3dae43" X="7560" c="4" Y="8708" T="13" H="10" /><S H="10" L="40" o="57b75c" X="7501" c="4" N="" Y="8625" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="380" L="78" o="d1c0b" X="7715" c="4" N="" Y="8762" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S H="10" L="40" o="449a48" X="7826" c="4" Y="8637" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,1,0.2,0,0,0,0" L="143" o="d1c0b" H="24" Y="8720" T="12" X="7606" /><S L="113" o="d1c0b" H="24" X="7806" Y="8656" T="12" P="0,0,1,0.2,-10,0,0,0" /><S H="10" L="30" o="3dae43" X="7853" c="4" N="" Y="8646" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="10" L="97" o="449a48" X="8077" c="4" N="" Y="8549" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="57b75c" X="7540" c="4" N="" Y="8731" T="13" H="10" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="449a48" X="7579" c="4" N="" Y="8724" T="13" H="10" /><S H="10" L="20" o="57b75c" X="7838" c="4" N="" Y="8666" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="449a48" X="7724" c="4" N="" Y="8462" T="13" H="10" /><S H="10" L="30" o="57b75c" X="7812" c="4" N="" Y="8647" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="10" L="97" o="57b75c" X="7784" c="4" N="" Y="8525" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="10" L="97" o="3dae43" X="7672" c="4" N="" Y="8527" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S H="280" L="78" o="d1c0b" X="8077" c="4" N="" Y="8811" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="3dae43" X="8027" c="4" N="" Y="8608" T="13" H="10" /><S P="0,0,0.3,0.2,0,0,0,0" L="97" o="57b75c" X="8124" c="4" N="" Y="8615" T="13" H="10" /><S P="0,0,1,0.2,10,0,0,0" L="113" o="d1c0b" X="7986" Y="8771" T="12" H="24" /><S H="10" L="40" o="449a48" X="7925" c="4" N="" Y="8758" T="13" P="0,0,0.3,0.2,0,0,0,0" /></S><D><DS Y="8935" X="382" /><P C="0,0,11280f" Y="8820" T="128" P="1,0" X="1450" /><P C="0,0,11280f" Y="8820" T="128" X="1610" P="1,0" /><P P="0,0" Y="8952" T="1" X="3407" /><P P="0,0" Y="8952" T="1" X="4012" /><P P="0,0" Y="8954" T="1" X="4357" /><P P="0,0" Y="8950" T="0" X="4170" /><P P="0,0" Y="8953" T="1" X="4909" /><P P="0,0" Y="8953" T="1" X="5130" /><P P="0,0" Y="8808" T="1" X="5553" /><P P="0,0" Y="8951" T="1" X="5937" /><P P="0,0" Y="8955" T="1" X="6421" /><P P="0,0" Y="8952" T="1" X="6784" /><P P="0,0" Y="8953" T="1" X="7157" /><P P="0,0" Y="8961" T="1" X="7061" /><P P="0,0" Y="8961" T="1" X="6611" /><P P="0,0" Y="8956" T="1" X="7420" /><P P="0,0" Y="8965" T="1" X="7828" /><P P="0,0" Y="8951" T="1" X="8067" /><P P="0,0" Y="8959" T="1" X="8360" /><P P="0,0" Y="8957" T="1" X="8462" /><P P="0,0" Y="8954" T="0" X="8710" /><P P="0,0" Y="8956" T="0" X="8182" /><P P="0,0" Y="8955" T="0" X="7609" /><P P="0,0" Y="8959" T="5" X="6926" /><P P="0,0" Y="8975" T="1" X="6045" /><P P="0,0" Y="8955" T="1" X="5833" /></D><O /></Z></C>')
  156. eventDataBase()
  157. chover=false
  158. end
  159.  
  160. if arg[1] == "map4" and name == adm then
  161. tfm.exec.newGame('<C><P Ca="" F="2" L="900" H="3000" /><Z><S><S L="400" X="298" H="164" Y="283" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="295" X="187" H="626" Y="537" T="5" P="0,0,0.3,0.2,10,0,0,0" /><S L="295" H="626" X="408" Y="547" T="5" P="0,0,0.3,0.2,-10,0,0,0" /><S L="295" X="447" H="626" Y="1068" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="295" H="626" X="213" Y="1048" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="295" X="133" H="626" Y="1121" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="295" H="626" X="434" Y="1246" T="5" P="0,0,0.3,0.2,-10,0,0,0" /><S L="400" X="196" H="626" Y="1482" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" H="626" X="431" Y="1785" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" X="195" H="626" Y="2037" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" H="626" X="417" Y="1989" T="5" P="0,0,0.3,0.2,-10,0,0,0" /><S L="400" X="455" H="626" Y="2508" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" H="626" X="196" Y="2592" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" X="188" H="626" Y="2717" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" H="626" X="629" Y="3017" T="5" P="0,0,0.3,0.2,-90,0,0,0" /><S L="1500" X="394" H="500" Y="243" T="8" P="0,0,0.3,0.2,0,0,0,0" /></S><D><P X="183" Y="204" T="1" P="0,0" /><P X="387" Y="206" T="1" P="0,0" /><P X="289" Y="204" T="5" P="0,0" /><P X="424" Y="206" T="83" P="0,0" /><DS Y="2798" X="770" /><P X="614" Y="2702" T="83" P="0,0" /><P X="716" Y="2821" T="83" P="0,0" /><P X="840" Y="2825" T="42" P="0,0" /></D><O /></Z></C>')
  162. eventDataBase()
  163. chover=fale
  164. end
  165.  
  166. if arg[1] == "map5" and name == adm then
  167. tfm.exec.newGame('<C><P mc="" F="3" H="5000000" /><Z><S><S L="800" X="408" H="400" Y="4999900" T="5" P="0,0,0.3,0.2,0,0,0,0" /><S P="1,1,0.3,0.2,0,1,0,0" L="10" o="31dc23" X="433" c="1" Y="166" T="12" H="63" /><S L="100" H="10" X="321" v="20000" Y="176" T="0" P="0,0,0.3,0.2,-30,0,0,0" /><S L="100" X="498" H="10" v="20000" Y="173" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S P="1,1,0.3,0.2,0,1,0,0" L="57" o="31dc23" X="408" c="1" Y="192" T="12" H="10" /><S L="10" o="31dc23" X="382" H="63" Y="166" T="12" P="1,1,0.3,0.2,0,1,0,0" /><S L="100" X="328" H="10" v="20000" Y="251" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" X="411" H="10" v="20000" Y="140" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S c="3" L="57" o="31dc23" X="408" H="10" Y="140" T="12" P="1,1,0.3,0.2,0,1,0,0" /><S L="100" H="10" X="498" v="20000" Y="250" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,-30,0,0,0" L="120" o="b3c5ce" X="335" c="4" v="20000" Y="189" T="12" H="50" /><S P="1,1,0.3,0.2,0,1,0,0" L="54" o="31dc23" X="408" c="4" Y="585" T="12" H="3000" /><S P="0,0,0.3,0.2,0,0,0,0" L="75" o="b3c5ce" X="411" c="4" v="20000" Y="184" T="13" H="10" /><S P="0,0,0.3,0.2,0,0,0,0" L="30" o="31dc23" H="10" v="20000" Y="254" T="13" X="409" /><S P="0,0,0.3,0.2,0,0,0,0" L="281" o="b3c5ce" X="411" c="4" v="20000" Y="228" T="12" H="62" /><S H="50" L="120" o="b3c5ce" X="487" c="4" v="20000" Y="189" T="12" P="0,0,0.3,0.2,30,0,0,0" /><S H="10" L="100" o="b3c5ce" X="406" c="1" v="20000" Y="204" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,-90,0,0,0" L="100" o="b3c5ce" X="448" c="1" v="20000" Y="176" T="12" H="10" /><S H="10" L="100" o="b3c5ce" X="371" c="1" v="20000" Y="177" T="12" P="0,0,0.3,0.2,-90,0,0,0" /></S><D><DS Y="173" X="408" /></D><O><O C="22" Y="190" X="385" P="0" /><O C="22" Y="192" X="432" P="0" /><O C="22" Y="141" X="384" P="0" /><O C="22" Y="142" X="432" P="0" /><O C="22" Y="167" X="411" P="0" /><O C="22" Y="168" X="430" P="0" /><O C="22" Y="165" X="385" P="0" /><O C="22" Y="188" X="408" P="0" /><O C="22" Y="142" X="407" P="0" /></O></Z></C>')
  168. eventDataBase()
  169. chover=fale
  170. end
  171.  
  172. if arg[1] == "chuva" and name == adm then
  173. chover=true
  174. end
  175.  
  176. if cmd == "titan" and name == adm then
  177. if not actived[name] then actived[name]=false end
  178.  
  179. if not actived[name] then
  180. system.bindMouse(name,true)
  181. actived[name]=true
  182. else
  183. system.bindMouse(name,false)
  184. actived[name]=false
  185. end
  186. end
  187. if arg[1] == "dmt" and name == adm then
  188. if arg[2] then
  189. nome = arg[2]:lower():gsub('%a', string.upper, 1)
  190. else
  191. nome = name
  192. end
  193. system.bindKeyboard(nome,88,true)
  194. for _,key in pairs({72,75}) do
  195. system.bindKeyboard(nome,key,true)
  196. end
  197. end
  198. end
  199.  
  200. system.disableChatCommandDisplay("tp", true)
  201. system.disableChatCommandDisplay("chuva", true)
  202. system.disableChatCommandDisplay("dmt", true)
  203. system.disableChatCommandDisplay("map", true)
  204. system.disableChatCommandDisplay("map2", true)
  205. system.disableChatCommandDisplay("map3", true)
  206. system.disableChatCommandDisplay("titan", true)
  207.  
  208. function eventMouse(name,x,y)
  209. if tp then
  210. tfm.exec.movePlayer(name, x, y, false, 0, 1, false)
  211. end
  212.  
  213. if actived[name] then
  214. ui.addTextArea(-1,"",nil,x,y,15,5,0x95A776,0x95A776)
  215. ui.addTextArea(0,"",nil,x+30,y,15,5,0x95A776,0x95A776)
  216. ui.addTextArea(1,"",nil,x+6,y-40,40,40,0x78583b,0x78583b)
  217. ui.addTextArea(2,"",nil,x+32,y-63,18,24,0x78583b,0x78583b)
  218. ui.addTextArea(4,"<font color='#78583b' size='140'>•</font>",nil,x-8,y-115,200,200,0,0,0)
  219. ui.addTextArea(5,"<font color='#78583b' size='120'>•</font>",nil,x-14,y-118,200,200,0,0,0)
  220. ui.addTextArea(6,"<font color='#78583b' size='140'>•</font>",nil,x-3,y-167,200,200,0,0,0)
  221. ui.addTextArea(7,"<font color='#78583b' size='120'>•</font>",nil,x-8,y-120,200,200,0,0,0)
  222. ui.addTextArea(9,"<font color='#78583b' size='100'>•</font>",nil,x-21,y-83,200,200,0,0,0)
  223. ui.addTextArea(10,"<font color='#78583b' size='50'>•</font>",nil,x+44,y-103,200,200,0,0,0)
  224. ui.addTextArea(11,"<font color='#785835' size='100'>•</font>",nil,x-25,y-154,200,200,0,0,0)
  225. ui.addTextArea(12,"<font color='#ebc298' size='85'>•</font>",nil,x-22,y-144,200,200,0,0,0)
  226. ui.addTextArea(13,"<font color='#95A776' size='50'>.</font>",nil,x+58,y-118,200,200,0,0,0)
  227. ui.addTextArea(14,"<font color='#78583b' size='23'>/</font>",nil,x+30,y-118,200,200,0,0,0)
  228. ui.addTextArea(15,"<font color='#78583b' size='20'>|</font>",nil,x+32,y-118,200,200,0,0,0)
  229. ui.addTextArea(16,"<font color='#78583b' size='50'>|</font>",nil,x+24,y-122,200,200,0,0,0)
  230. ui.addTextArea(17,"<font color='#000000' size='40'>_</font>",nil,x+15,y-110,200,200,0,0,0)
  231. ui.addTextArea(18,"<font color='#000000' size='40'>_</font>",nil,x,y-110,200,200,0,0,0)
  232. ui.addTextArea(19,"<font color='#000000' size='30'>/</font>",nil,x+30,y-73,200,200,0,0,0)
  233. ui.addTextArea(20,"<font color='#000000' size='25'>•</font>",nil,x+23,y-92,200,200,0,0,0)
  234. ui.addTextArea(21,"<font color='#FFFFFF' size='5'>•</font>",nil,x+27,y-76,200,200,0,0,0)
  235. ui.addTextArea(22,"<font color='#FFFFFF' size='10'>•</font>",nil,x+27,y-83,200,200,0,0,0)
  236. ui.addTextArea(23,"<font color='#78583b' size='50'>=</font>",nil,x+39,y-75,200,200,0,0,0)
  237. ui.addTextArea(24,"<font color='#78583b' size='19'>B</font>",nil,x+70,y-53,200,200,0,0,0)
  238. ui.addTextArea(25,"",nil,x+52,y-41,25,4,0x78583b,0x78583b)
  239. ui.addTextArea(26,"<font color='#6F4F33' size='50'>=</font>",nil,x+37,y-65,200,200,0,0,0)
  240. ui.addTextArea(27,"<font color='#6F4F33' size='19'>B</font>",nil,x+68,y-43,200,200,0,0,0)
  241. ui.addTextArea(28,"",nil,x+50,y-31,25,4,0x6F4F33,0x6F4F33)
  242. end
  243. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement