Advertisement
Guest User

Noktats

a guest
May 30th, 2014
719
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.14 KB | None | 0 0
  1. ----------------------
  2. -------Noktats--------
  3. -----Admin-Script-----
  4. ----------------------
  5. ---True e false---
  6. tfm.exec.disableAllShamanSkills(false)
  7. tfm.exec.disableAutoNewGame(true);
  8. ---end true e false--
  9. ---Tables---
  10. mapas={[[0]],[[1]],[[@4827484]],[[@4235568]],[[2]],[[4176839]],[[@4827484]],[[4176839]],[[4176839]],[[3]],[[4]],[[5]],[[6]],[[7]],[[8]],[[9]],[[10]],[[11]],[[12]],[[13]],[[14]],[[15]],[[16]],[[17]],[[18]],[[19]],[[20]],[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]],[[28]],[[29]],[[30]],[[31]],[[32]],[[33]],[[34]],[[35]],[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]],[[44]],[[45]],[[46]],[[47]],[[48]],[[49]],[[50]],[[51]],[[52]],[[53]],[[54]],[[55]],[[56]],[[57]],[[58]],[[59]],[[60]],[[61]],[[62]],[[63]],[[64]],[[65]],[[@4827484]],[[66]],[[67]],[[68]],[[69]],[[70]],[[71]],[[72]],[[73]],[[74]],[[75]],[[76]],[[77]],[[78]],[[79]],[[80]],[[81]],[[82]],[[83]],[[@4827484]],[[84]],[[85]],[[86]],[[87]],[[88]],[[89]],[[90]],[[91]],[[92]],[[93]],[[94]],[[95]],[[96]],[[97]],[[98]],[[99]],[[100]],[[101]],[[102]],[[103]],[[104]],[[105]],[[106]],[[107]],[[108]],[[109]],[[110]],[[111]],[[112]],[[113]],[[114]],[[115]],[[116]],[[117]],[[118]],[[119]],[[120]],[[121]],[[122]],[[123]],[[124]],[[125]],[[126]],[[127]],[[128]],[[129]],[[130]],[[131]],[[132]],[[133]],[[134]],[[136]],[[137]],[[138]],[[139]],[[140]],[[141]],[[@4827484]],[[4035276]],[[142]],[[143]],[[200]],[[201]],[[202]],[[203]],[[204]],[[205]],[[206]],[[4035276]],[[207]],[[208]],[[209]],[[4035276]],[[210]],[[3078]],[[8679]],[[82090]],[[127419]],[[129835]],[[142101]],[[4035276]],[[142738]],[[146364]],[[146615]],[[4035276]],[[147437]],[[149853]],[[153201]],[[155415]],[[159076]],[[159204]],[[162804]],[[164931]],[[165808]],[[169033]],[[169909]],[[178486]],[[179656]],[[180035]],[[@4827484]],[[180617]],[[181261]],[[182233]],[[185646]],[[185955]],[[185985]],[[186484]],[[186695]],[[191070]],[[4035276]],[[197413]],[[197442]],[[197503]],[[197742]],[[199957]],[[201502]],[[201606]],[[210217]],[[211248]],[[212576]],[[212903]],[[213470]],[[214465]],[[214788]],[[215601]],[[219889]],[[220737]],[[221767]],[[222730]],[[228517]],[[233294]],[[233333]],[[235464]],[[237251]],[[238378]],[[240994]],[[244642]],[[245152]],[[247329]],[[247904]],[[248906]],[[250491]],[[250619]],[[261462]],[[266889]],[[269131]],[[269534]],[[270645]],[[274963]],[[276098]],[[280637]],[[281784]],[[284702]],[[292057]],[[294500]],[[298123]],[[@4827484]],[[302456]],[[303391]],[[306755]],[[313182]],[[318970]],[[321268]],[[327447]],[[329627]],[[335361]],[[337813]],[[352622]],[[353079]],[[363635]],[[364490]],[[366205]],[[369138]],[[371072]],[[371332]],[[387110]],[[402190]],[[405795]],[[417816]],[[421885]],[[422655]],[[423989]],[[424864]],[[429339]],[[433483]],[[446627]],[[446819]],[[455094]],[[466871]],[[470069]],[[482003]],[[500133]],[[@4827484]],[[505196]],[[511007]],[[520258]],[[523865]],[[547602]],[[552213]],[[@4827484]],[[557334]],[[581408]],[[611234]],[[629731]],[[639804]],[[659216]],[[667934]],[[724780]],[[763961]],[[780286]],[[847540]],[[1053516]],[[1107804]],[[1190826]],[[1193625]],[[1222017]],[[1222509]],[[1252255]],[[1368022]],[[1429444]],[[1481024]],[[1502799]],[[1550076]],[[1556972]],[[1563226]],[[1662570]],[[1683790]],[[1698845]],[[1699288]],[[1855968]],[[1864676]],[[1931963]],[[1943359]],[[1958341]],[[1970001]],[[2006183]],[[2019746]],[[2188104]],[[2208335]],[[2223354]],[[2227644]],[[2261303]],[[2311047]],[[2355739]],[[2378818]],[[2419958]],[[2439335]],[[2444362]],[[2458243]],[[@4827484]],[[2558294]],[[2589845]],[[2598599]],[[2616341]],[[2675699]],[[2708773]],[[2746128]],[[2805602]],[[4035276]],[[2808729]],[[2813218]],[[2827176]],[[2842279]],[[2847966]],[[2870002]],[[2929597]],[[2932980]],[[2959762]],[[2959999]],[[2960917]],[[2969368]],[[2972400]],[[2973921]],[[2978151]],[[3008536]],[[3014728]],[[3051957]],[[3117749]],[[3124326]],[[3124696]],[[@4827484]],[[3224383]],[[3237735]],[[3270188]],[[@4827484]],[[@4827484]],[[3279863]],[[3297112]],[[3314017]],[[3373223]],[[3407209]],[[3425103]],[[3432133]],[[3452208]],[[3464359]],[[3469357]],[[3497411]],[[3512325]],[[3526384]],[[3560912]],[[3586018]],[[3603116]],[[3605217]],[[3671328]],[[3710926]],[[3714605]],[[3723142]],[[3779546]],[[3865524]],[[3866374]],[[4116927]],[[4140588]],[[4148686]],[[@1471124]],[[@1694602]],[[@1644638]],[[@1542736]],[[@1495344]],[[129420]],[[154859]],[[202952]],[[224120]],[[230970]],[[235931]],[[238162]],[[247992]],[[256797]],[[257777]],[[257782]],[[261886]],[[263215]],[[263800]],[[270238]],[[277994]],[[280679]],[[@4827484]],[[281473]],[[287044]],[[290549]],[[299897]],[[@4827484]],[[306561]],[[315632]],[[317110]],[[330773]],[[330797]],[[334645]],[[350441]],[[374125]],[[448507]],[[450140]],[[453765]],[[457558]],[[476658]],[[484355]],[[485653]],[[495829]],[[506218]],[[525684]],[[531213]],[[543398]],[[558253]],[[578714]],[[585040]],[[604406]],[[617254]],[[638159]],[[706326]],[[744348]],[[750942]],[[763156]],[[779260]],[[786497]],[[@4827484]],[[@4827484]],[[848208]],[[878196]],[[899457]],[[927182]],[[979494]],[[1135318]],[[1154704]],[[1200519]],[[1211568]],[[1214279]],[[1259600]],[[1262441]],[[1262576]],[[1263900]],[[1268550]],[[1284562]],[[1300245]],[[1334402]],[[1349031]],[[1352113]],[[1412929]],[[1452622]],[[1478116]],[[1485916]],[[1528279]],[[1573316]],[[1695882]],[[1697837]],[[1708963]],[[1712533]],[[1716752]],[[1730988]],[[1738125]],[[1738989]],[[1746290]],[[1749688]],[[1749932]],[[1756788]],[[1762434]],[[1762519]],[[1766747]],[[1777814]],[[1787404]],[[1796467]],[[1799015]],[[1800626]],[[1820179]],[[1830174]],[[1836823]],[[1844159]],[[1846067]],[[1847621]],[[@4827484]],[[1849171]],[[1860790]],[[1863924]],[[1872587]],[[1889408]],[[1889794]],[[1913370]],[[1942013]],[[1956373]],[[1976323]],[[1980188]],[[1984663]],[[1998819]],[[2012914]],[[2018904]],[[2019344]],[[2052945]],[[2115470]],[[2119048]],[[2154135]],[[2203483]],[[2220773]],[[2239451]],[[2270547]],[[2328121]],[[2360279]],[[2367228]],[[2376836]],[[2407012]],[[2427381]],[[2429189]],[[2446305]],[[2446697]],[[2455096]],[[2462352]],[[2470112]],[[2476115]],[[2479910]],[[2490148]],[[2539757]],[[2546729]],[[2552396]],[[2563171]],[[2621331]],[[2623223]],[[2636264]],[[2637780]],[[2638619]],[[2677968]],[[2688651]],[[2760552]],[[2763000]],[[2780261]],[[2784715]],[[2794881]],[[2796541]],[[2798026]],[[2802862]],[[2852625]],[[2866381]],[[2880542]],[[2932572]],[[2949304]],[[2953001]],[[2957089]],[[2961043]],[[2971843]],[[2975039]],[[2996913]],[[3007211]],[[3014000]],[[3018693]],[[3019964]],[[3023538]],[[3026528]],[[3052500]],[[3067412]],[[3071317]],[[3100888]],[[3107962]],[[3110059]],[[3121566]],[[3122999]],[[3128066]],[[3130657]],[[3130919]],[[3132651]],[[@4827484]],[[3167482]],[[3171809]],[[3191094]],[[3191391]],[[3213325]],[[3237957]],[[3283533]],[[3295987]],[[3295997]],[[3296008]],[[3305726]],[[3312511]],[[3327927]],[[3335221]],[[3344068]],[[3358845]],[[3390013]],[[3396857]],[[3421888]],[[3436062]],[[3451399]],[[3471523]],[[3473320]],[[3474595]],[[3477001]],[[3561784]],[[3572354]],[[3574034]],[[@4827484]],[[3579914]],[[3631500]],[[3651353]],[[3676167]],[[3678544]],[[3692406]],[[3815717]],[[3910771]],[[3924361]],[[3932627]],[[3938620]],[[3969167]],[[4000418]],[[4081617]],[[4094804]],[[4094915]],[[49101]],[[60303]],[[113235]],[[119308]],[[121043]],[[121494]],[[123777]],[[124969]],[[126151]],[[127440]],[[133082]],[[139581]],[[141827]],[[147831]],[[149476]],[[155262]],[[155591]],[[158569]],[[160303]],[[164404]],[[164859]],[[166106]],[[167093]],[[169959]],[[171290]],[[179384]],[[183423]],[[183427]],[[184294]],[[192144]],[[192155]],[[196950]],[[198823]],[[204059]],[[206891]],[[208692]],[[211171]],[[211533]],[[213396]],[[215965]],[[217333]],[[219350]],[[@4827484]],[[220999]],[[226423]],[[@4827484]],[[238926]],[[239907]],[[242204]],[[242381]],[[246776]],[[248490]],[[248644]],[[250042]],[[251430]],[[251448]],[[254893]],[[272272]],[[275965]],[[285235]],[[290801]],[[293308]],[[301206]],[[306730]],[[313415]],[[314416]],[[315612]],[[317820]],[[323597]],[[325027]],[[327706]],[[333365]],[[334288]],[[339035]],[[340745]],[[346316]],[[356553]],[[356643]],[[356892]],[[370937]],[[372968]],[[389671]],[[407025]],[[411996]],[[413183]],[[418415]],[[425247]],[[434768]],[[437196]],[[478655]],[[486012]],[[491590]],[[499940]],[[515187]],[[581701]],[[599187]],[[605286]],[[660510]],[[672430]],[[693009]],[[697877]],[[702824]],[[748650]],[[778287]],[[868686]],[[921661]],[[923485]],[[928583]],[[941707]],[[944540]],[[993954]],[[1090395]],[[1245573]],[[1249188]],[[1255674]],[[1297039]],[[1391896]],[[1412254]],[[1412359]],[[1427861]],[[1432572]],[[1505167]],[[1542565]],[[1634606]],[[@4827484]],[[1698766]],[[1709809]],[[1756337]],[[1779549]],[[1783602]],[[1799297]],[[1854137]],[[1928572]],[[1933292]],[[1957536]],[[2002821]],[[2036283]],[[2187460]],[[2261863]],[[2265648]],[[2270500]],[[2305185]],[[2305294]],[[2373533]],[[2377177]],[[2394359]],[[2434490]],[[2435302]],[[2456807]],[[2465212]],[[2468712]],[[2493085]],[[2493651]],[[2515079]],[[2618581]],[[2655603]],[[2686903]],[[2766068]],[[2803902]],[[2865445]],[[2868361]],[[2884007]],[[2885923]],[[2918771]],[[2929292]],[[@4827484]],[[2973170]],[[2984874]],[[2999899]],[[3038859]],[[3078733]],[[3096613]],[[3118578]],[[3132494]],[[3150249]],[[3157116]],[[3176749]],[[3197968]],[[3206130]],[[3211751]],[[3229524]],[[3265107]],[[3265446]],[[3270078]],[[3286276]],[[3296011]],[[3333614]],[[3361309]],[[3382202]],[[3456515]],[[3464484]],[[3476685]],[[3478259]],[[3478807]],[[3499928]],[[3529629]],[[3632629]],[[4035276]],[[3641144]],[[3657454]],[[3659540]],[[3661853]],[[3674055]],[[3727797]],[[3729243]],[[3753845]],[[3765910]],[[3774646]],[[3954735]],[[@4827484]]};
  11. lights={"25" ,"25" ,"25" , "26" , "27", "28","25" ,"25" }
  12. admins={"Noktats"}
  13.  
  14. data={};
  15. sc={
  16. ["rps"]=0;
  17. ["urp"]="";
  18. };
  19. pAtOnce=0
  20. ---end tables---
  21. for i in pairs(tfm.get.room.playerList) do
  22. nD={
  23. ["prp"]="";
  24. ["mrp"]="";
  25. ["rps"]="";
  26. ["nrp"]=0;
  27. ["ban"]=false;
  28. ["ale"]="";
  29. ["vrp"]="";
  30. ["wrp"]=false;
  31. };
  32. data[i] = nD;
  33. end
  34. -- Textarea
  35. for i,v in pairs(admins) do
  36. ui.addTextArea(0,"<V><a href='event:m'> Panel</a>",v,15,25,70,20,1,1,0.8,true)
  37. end
  38. ---rotating mapas---
  39. function nextRound()
  40. tfm.exec.newGame(mapas[math.random(#mapas)]);
  41. end
  42.  
  43. function eventNewGame()
  44. vivo=0
  45. for name,player in pairs(tfm.get.room.playerList) do
  46. vivo=vivo+1
  47. end
  48. end
  49.  
  50. function eventPlayerDied(name)
  51. vivo=vivo-1
  52. end
  53.  
  54. function eventPlayerWon(name)
  55. vivo=vivo-1
  56. end
  57. ----Loop---
  58. function eventLoop(ct, tr)
  59. if vivo == 0 or tr < 1000 then
  60. nextRound();
  61. pAtOnce=0
  62. tfm.exec.snow((0),(15))
  63. tfm.exec.disableAutoShaman(false)
  64. end
  65.  
  66. for i=1,pAtOnce do
  67. tfm.exec.displayParticle(lights[math.random(#lights)],math.random(0,4800),math.random(0,400),0,0,0,0,nil)
  68. end
  69. for i in pairs(tfm.get.room.playerList) do
  70. if data[i].ban == true then
  71. tfm.exec.killPlayer(i)
  72. end
  73. if data[i].wrp == true then
  74. watch(data[i].vrp,i)
  75. end
  76. end
  77. --Cor/color--
  78. for All in pairs(tfm.get.room.playerList) do
  79. for _,vAdmins in pairs(admins) do
  80. if(All == vAdmins) then --Se for admin...
  81. tfm.exec.setNameColor(All, 0xEB1D51) --Troque FFFFFF pela cor que deseja.
  82. end
  83. end
  84. end
  85. end
  86. nextRound();
  87. --end loop and rotating maps--
  88. function isAdm(p)
  89. for i,v in pairs(admins) do
  90. if v == p then
  91. return true
  92. end
  93. end
  94. end
  95.  
  96. --comandos--
  97. function eventChatCommand(player,c)
  98. if c:sub(0,3) == [[rep]] then
  99. for i,v in pairs(tfm.get.room.playerList) do
  100. if i == c:sub(5) then
  101. data[player].prp = ""..c:sub(5).."";
  102. ui.addPopup(0,2,"Why are you reporting the player "..c:sub(5).."?",player,300,175,217,true)
  103. end
  104. end
  105. end
  106.  
  107. if c == [[woff]] and isAdm(player) == true then
  108. data[player].wrp = false;
  109. end
  110.  
  111. if c:sub(0,3) == [[par]] and (c:sub(5) <= [[500]]) and isAdm(player) == true then
  112. pAtOnce=c:sub(5)
  113. print("<v>[Tigrounette] <n>Caution to the winds <j>".. player .."<n> Ò.Ó")
  114. end
  115.  
  116. if c:sub(0,5) == [[fish]] and isAdm(player) == true then
  117. pAtOnce=100
  118. tfm.exec.disableAutoShaman(true)
  119. tfm.exec.newGame("@4827484")
  120. tfm.exec.setUIMapName("Fishing")
  121. tfm.exec.giveMeep(player)
  122. print("<v>[Admins] <n>Welcome in my map <j>".. player .."<n>.")
  123. end
  124.  
  125. if c:sub(0,4) == [[snow]] and isAdm(player) == true then
  126. tfm.exec.snow((120),(15))
  127. print("<v>[Admins] <n>Ahhh, it is cold, <j>".. player .."<n> activate the snow!")
  128. end
  129.  
  130. if (c == [[mort]]) then
  131. tfm.exec.killPlayer(player)
  132. print("<v>[Admins] <j>".. player .." <n>Kendisini öldürdü <rose>"..c.."")
  133. end
  134.  
  135. if c:sub(0,4) == [[stop]] and isAdm(player) == true then
  136. system.exit()
  137. end
  138.  
  139. if c:sub(0,4) == [[auto]] and isAdm(player) == true then
  140. tfm.exec.setGameTime(120, true)
  141. end
  142.  
  143. if c:sub(0,4) == [[next]] and isAdm(player) == true then
  144. tfm.exec.newGame(mapas[math.random(#mapas)]);
  145. tfm.exec.snow((0),(15))
  146. pAtOnce=0
  147. print("<v>[Admins] <j>".. player .." <n>diğer mapı açtı")
  148. end
  149.  
  150. if c:sub(0,4) == [[help]] then
  151. ui.addPopup(0, 0, "<font color='#009D9D'>"..player.."</font> <n>panelimizine hoş geldiniz.<br><br><font color='#BABD2F'>!mort</font> - ile kendinizi öldürebilirsiniz.<br><font color='#BABD2F'>!rep (İSİM)</font> - rapor edebilirsiniz.<br><br>Do you are <font color='#EB1D51'>administrator</font> type <font color='#BABD2F'>!helpadm</font>.", p, 250, 110, 250)
  152. end
  153.  
  154. if c:sub(0,7) == [[helpadm]] and isAdm(player) == true then
  155. ui.addPopup(0, 0, "<font color='#EB1D51'>"..player.."</font> Panelimize hoş geldiniz<br><br><font color='#BABD2F'>!fish</font> - Oyuna meep getirir.<br><font color='#BABD2F'>!snow</font> - Kar yağdırma.<br><font color='#BABD2F'>!next</font> - Haritayı değiştirir.<br><font color='#BABD2F'>!win</font> - Oyuncu kazandırma.<br><font color='#BABD2F'>!time</font> - Oyun zamanını ayarlama.<br><font color='#BABD2F'>!kill</font> - Oyuncu öldürme.<br><font color='#BABD2F'>!stop</font> - Script sonlandırma.", p, 250, 110, 250)
  156. end
  157.  
  158. if c:sub(0,4) == [[life]] and isAdm(player) == true then
  159. tfm.exec.setGameTime(120, true)
  160. tfm.exec.respawnPlayer(player)
  161. vivo=vivo+1
  162. end
  163.  
  164. if c:sub(0,4) == [[time]] and isAdm(player) == true then
  165. ui.addPopup(9,2,"Kalan Süre:", player,300,100,200)
  166. end
  167.  
  168. if c:sub(0,3) == [[np]] and isAdm(player) == true then
  169. ui.addPopup(8,2,"Sonraki map:", player,300,100,200)
  170. end
  171. if c:sub(0,3) == [[win]] and isAdm(player) == true then
  172. ui.addPopup(7,2,"Kim Kazansın?", player,300,100,200)
  173. end
  174. if c:sub(0,4) == [[kill]] and isAdm(player) == true then
  175. ui.addPopup(6,2,"Kim Ölsün?", player,300,100,200)
  176. end
  177. end
  178.  
  179. function eventPopupAnswer(id, player, answer)
  180. if id == 9 then
  181. tfm.exec.setGameTime(answer)
  182. end
  183.  
  184. if id == 8 then
  185. tfm.exec.newGame(answer)
  186. end
  187. if id == 7 then
  188. tfm.exec.giveCheese(answer)
  189. tfm.exec.playerVictory(answer)
  190. end
  191. if id == 6 then
  192. tfm.exec.killPlayer(answer)
  193. end
  194.  
  195. if id == 0 then
  196. if data[data[player].prp].nrp <= 20 then
  197. data[player].mrp = ""..answer.."";
  198. ui.addPopup(0,0,"<p align='center'>Talebiniz</p>",player,300,175,200,true)
  199. repPlayer(data[player].prp,answer,player)
  200. sc.urp = "<R>"..player.."<N2> Raporlanan kişi : <VP>"..data[player].prp.."";
  201. else
  202. ui.addPopup(0,0,"<p align='center'>Başarılı.</p>",player,300,175,200,true)
  203. end
  204. end
  205. if id == 1 then
  206. for i,v in pairs(tfm.get.room.playerList) do
  207. if i == answer then
  208. data[player].vrp = ""..answer.."";
  209. ui.updateTextArea(1,"<p align='center'><VP><TI><b>Kullanıcı Panel</b></p><br /><V><a href='event:close'>Kapat</a><br /><font size='12'><J>"..answer.."<BL> "..data[answer].nrp.." - [<R><a href='event:brp'>banla</a></a><BL>] - [<R><a href='event:wrp'>şerit</a></a><BL>] - [<R><a href='event:arp'>mesaj</a></a><BL>]"..data[answer].rps.."",player)
  210. end
  211. end
  212. end
  213. if id == 2 then
  214. for i,v in pairs(tfm.get.room.playerList) do
  215. if i == answer then
  216. data[answer].ban = true;
  217. ui.addPopup(0,0,"<p align='center'> "..answer.."'yi banladınız!",player,300,175,200,true)
  218. tfm.exec.killPlayer(answer)
  219. end
  220. end
  221. end
  222. if id == 3 then
  223. for i,v in pairs(tfm.get.room.playerList) do
  224. if i == answer then
  225. data[answer].ban = false;
  226. ui.addPopup(0,0,"<p align='center'> "..answer.."'nin banını kaldırdınız!",player,300,175,200,true)
  227. end
  228. end
  229. end
  230. if id == 4 then
  231. for i,v in pairs(tfm.get.room.playerList) do
  232. if i == answer then
  233. data[player].ale = ""..answer.."";
  234. ui.addPopup(5,2,"<p align='center'>Mesajınız nedir?",player,300,175,200,true)
  235. end
  236. end
  237. end
  238. if id == 5 then
  239. ui.addPopup(0,0,"<p align='center'><font color='#ED67EA'>[~"..player.."]</font> "..answer.."",data[player].ale,300,175,200,true)
  240. end
  241. end
  242. --end commandos--
  243. -- Atualizar reports de um jogador
  244. function repPlayer(player,msg,r)
  245. data[player].rps = data[player].rps.."<br /><N2>[<V>"..player.."<N2>]<BL> "..r.." : <N>"..msg.."";
  246. data[player].nrp = data[player].nrp+1;
  247. sc.rps=sc.rps+1;
  248. end
  249. -- Links de uma textarea
  250. function eventTextAreaCallback(id,player,link)
  251. if link == [[m]] then
  252. ui.addTextArea(1,"<p align='center'><VP><TI><b>Admin Panel</b><br /></p><J>• Raporlar:<br /><font size='12'><V>Toplam Rapor Sayısı : <N2>"..sc.rps.."<br /><V>Rapor Yapan Kişi : <N2>"..sc.urp.."<br /><br /><TI><J>• Diğer:<br /><V><font size='12'><a href='event:r'>Kullanıcı işlemleri :</a><br /><a href='event:ban'>Oyuncu banlama :</a><br /><a href='event:unb'>Ban kaldırma :</a><br /><a href='event:ale'>Mesaj Göderme :</a><br /><a href='event:close'>Kapat :</a>",player,20,60,700,260,1,1,0.8,true)
  253. ui.addTextArea(0,"<V><a href='event:m'> Panel</a>",v,15,25,70,20,1,1,0.8,true)
  254. end
  255. if link == [[close]] then
  256. ui.removeTextArea(id,player)
  257. end
  258. if link == [[r]] then
  259. ui.addPopup(1,2,"Hangi oyuncu?",player,300,175,200,true)
  260. end
  261. if link == [[ban]] then
  262. ui.addPopup(2,2,"Hangi oyuncu?",player,300,175,200,true)
  263. end
  264. if link == [[unb]] then
  265. ui.addPopup(3,2,"Hangi oyuncu?",player,300,175,200,true)
  266. end
  267. if link == [[ale]] then
  268. ui.addPopup(4,2,"Hangi oyuncu?",player,300,175,200,true)
  269. end
  270. if link == [[brp]] then
  271. data[data[player].vrp].ban = true;
  272. ui.addPopup(0,0,"<p align='center'>The player "..data[player].vrp.." was banned!",player,300,175,200,true)
  273. end
  274. if link == [[wrp]] then
  275. data[player].wrp = true;
  276. end
  277. if link == [[arp]] then
  278. data[player].ale = ""..data[player].vrp.."";
  279. ui.addPopup(5,2,"<p align='center'>Mesajınız nedir?",player,300,175,200,true)
  280. end
  281. end
  282. -- Novo jogador entra na sala
  283. function eventNewPlayer(player)
  284. if not data[player] then
  285. nD={
  286. ["prp"]="";
  287. ["mrp"]="";
  288. ["rps"]="";
  289. ["nrp"]=0;
  290. ["ban"]=false;
  291. ["ale"]="";
  292. ["vrp"]="";
  293. ["wrp"]=false;
  294. };
  295. data[player] = nD;
  296. end
  297. for i,v in pairs(admins) do
  298. ui.addTextArea(0,"<V><a href='event:m'> Panel</a>",v,15,25,70,20,1,1,0.8,true)
  299. end
  300. end
  301. -- Watch
  302. function watch(player,i)
  303. ui.addTextArea(3,"",i,tfm.get.room.playerList[player].x-23,-300,70,1000,1,1,0.7)
  304. end
  305. --disable comandos--
  306. system.disableChatCommandDisplay("mort",true)
  307. system.disableChatCommandDisplay("Kill",true)
  308. system.disableChatCommandDisplay("next",true)
  309. system.disableChatCommandDisplay("snow",true)
  310. system.disableChatCommandDisplay("par",true)
  311. system.disableChatCommandDisplay("stop",true)
  312. system.disableChatCommandDisplay("fish",true)
  313. system.disableChatCommandDisplay("help",true)
  314. system.disableChatCommandDisplay("helpadm",true)
  315. system.disableChatCommandDisplay("life",true)
  316. system.disableChatCommandDisplay("win",true)
  317. system.disableChatCommandDisplay("np",true)
  318. system.disableChatCommandDisplay("time",true)
  319. system.disableChatCommandDisplay("rep",true)
  320. system.disableChatCommandDisplay("woff",true)
  321.  
  322. print("\n<n><J>Bigli için <r>!help<n> <J>komutunu kullanın.")
  323.  
  324.  
  325. --end script--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement