Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version = 3.8
- script = { "Erikq" , "Somnorosull" , "Frentzytime" }
- admin = { "Erikq" , "Somnorosull" , "Frentzytime" , "Mrdragomir" , "Leeyaluki" }
- vip = { "Erikq" , "Somnorosull" , "Frentzytime" , "Bertydd" , "Croeus" , "Elviszece" , "Hanniba" , "Hypnotizy" , "Octavytza", "Paulicc" , "Bobomousica" , "Titanflame" , "Zyperstone" , "Adelinasima" , "Lokitolou" , "Marynel" , "Mrdragomir" , "Hmckexo" , "Fresstylero" , "Leeyaluki" , "Dariusthepro"}
- ban = {}
- ui.addTextArea(401,"<p align='center'><a href='event:affichage'><b>Menu</b></a></p>",nil,228,20,53,16,0x000001,0x000001,0.6,nil,true)
- canFly = {}
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- ob = {}
- msg = {}
- ffa = {}
- players = {}
- toDes = {}
- grounds = {}
- teren = {}
- terenuri = {}
- reportban = { "Monatina" }
- t=0
- id=0
- a = 'Erikq'
- b = 'Frentzytime'
- c = 'Somnorosull'
- x = ''
- tfm.exec.disableAfkDeath(true)
- ui.addTextArea(402,"<a href='event:fly'><b>Fly : <font color='#F96868'>OFF</font></b></a>",name,5, 20, 65, 16, 0x000001, 0x000001, 0.6,true)
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp : <font color='#F96868'>OFF</font></b></a></p>",name,78,20,65,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp : <font color='#F96868'>OFF</font></b></a></p>",name,150,20,69,16,0x000001,0x000001,0.6,true)
- function eventNewGame()
- for index,player in pairs(ban) do
- tfm.exec.killPlayer(player);
- tfm.exec.setPlayerScore(player, 0, false);
- ui.addTextArea(800,"",player,0,0,800,400,0x000001,0x000001,0.2,true)
- end
- tfm.exec.setNameColor("Erikq",0x009D9D)
- tfm.exec.setNameColor("Frentzytime",0xEB1D51)
- tfm.exec.setNameColor("Somnorosull",0x00ff00)
- tfm.exec.setNameColor("Leeyaluki",0x8000FF)
- tfm.exec.setNameColor("Bertydd",0x00E0E4)
- tfm.exec.setNameColor("Croeus",0x00E0E4)
- tfm.exec.setNameColor("Elviszece",0x00E0E4)
- tfm.exec.setNameColor("Hanniba",0x00E0E4)
- tfm.exec.setNameColor("Hypnotizy",0x00E0E4)
- tfm.exec.setNameColor("Octavytza",0x00E0E4)
- tfm.exec.setNameColor("Bobomousica",0x00E0E4)
- tfm.exec.setNameColor("Titanflame",0x00E0E4)
- tfm.exec.setNameColor("Zyperstone",0x00E0E4)
- tfm.exec.setNameColor("Adelinasima",0x00E0E4)
- tfm.exec.setNameColor("Lokitolou",0x00E0E4)
- tfm.exec.setNameColor("Marynel",0x00E0E4)
- tfm.exec.setNameColor("Mrdragomir",0xD4B699)
- tfm.exec.setNameColor("Hmckexo",0x00E0E4)
- tfm.exec.setNameColor("Fresstylero",0x00E0E4)
- tfm.exec.setNameColor("Paulicc",0x00E0E4)
- tfm.exec.setNameColor("Alexasiatat",0x75217A)
- end
- function Admin(name)
- for i,admin in ipairs(admin) do
- if name==admin then
- return true
- end
- end
- return false
- end
- function Script(name)
- for i,script in ipairs(script) do
- if name==script then
- return true
- end
- end
- return false
- end
- function Ban(name)
- for i,ban in ipairs(ban) do
- if name==ban then
- return true
- end
- end
- return false
- end
- function Reportban(name)
- for i,reportban in ipairs(reportban) do
- if name==reportban then
- return true
- end
- end
- return false
- end
- function Vip(name)
- for i,vip in ipairs(vip) do
- if name==vip then
- return true
- end
- end
- return false
- end
- function eventMouse(name, x, y)
- if terenuri[name] then
- tfm.exec.addPhysicObject(id,x,y,{height=math.random(70,70),width=math.random(70,70),friction=0.3,retitution=0.2})
- id=(id+1)%5
- end
- if teren[name] then
- tfm.exec.addPhysicObject(id,x,y,{height=math.random(40,40),width=math.random(40,40),friction=0.3,retitution=0.2})
- id=(id+1)%5
- end
- if grounds[name] then
- tfm.exec.addPhysicObject(id,x,y,{height=math.random(20,20),width=math.random(20,20),friction=0.3,retitution=0.2})
- id=(id+1)%5
- end
- if canTeleport[name] then
- tfm.exec.movePlayer(name, x, y)
- end
- if canExplosion[name] then
- tfm.exec.explosion(x,y,10,100,true)
- end
- if medExplosion[name] then
- tfm.exec.explosion(x,y,20,140,true)
- end
- if maxExplosion[name] then
- tfm.exec.explosion(x,y,60,140,true)
- end
- end
- function eventPlayerRespawn(name)
- for index,player in pairs(ban) do
- tfm.exec.killPlayer(player);
- tfm.exec.setPlayerScore(player, 0, false);
- end
- tfm.exec.setNameColor("Erikq",0x009D9D)
- tfm.exec.setNameColor("Frentzytime",0xEB1D51)
- tfm.exec.setNameColor("Somnorosull",0x00ff00)
- tfm.exec.setNameColor("Leeyaluki",0x8000FF)
- tfm.exec.setNameColor("Bertydd",0x00E0E4)
- tfm.exec.setNameColor("Croeus",0x00E0E4)
- tfm.exec.setNameColor("Elviszece",0x00E0E4)
- tfm.exec.setNameColor("Hanniba",0x00E0E4)
- tfm.exec.setNameColor("Hypnotizy",0x00E0E4)
- tfm.exec.setNameColor("Octavytza",0x00E0E4)
- tfm.exec.setNameColor("Bobomousica",0x00E0E4)
- tfm.exec.setNameColor("Titanflame",0x00E0E4)
- tfm.exec.setNameColor("Zyperstone",0x00E0E4)
- tfm.exec.setNameColor("Adelinasima",0x00E0E4)
- tfm.exec.setNameColor("Lokitolou",0x00E0E4)
- tfm.exec.setNameColor("Marynel",0x00E0E4)
- tfm.exec.setNameColor("Mrdragomir",0xD4B699)
- tfm.exec.setNameColor("Hmckexo",0x00E0E4)
- tfm.exec.setNameColor("Fresstylero",0x00E0E4)
- tfm.exec.setNameColor("Paulicc",0x00E0E4)
- tfm.exec.setNameColor("Alexasiatat",0x75217A)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(name, 32, true, true)
- tfm.exec.bindKeyboard(name, 40, true, true)
- tfm.exec.bindKeyboard(name, 83, true, true)
- system.bindMouse(name, true)
- end
- function eventKeyboard(name,key,down,x,y)
- if key == 32 then
- if canFly[name] then
- tfm.exec.movePlayer(name,0,0,true,0,-50,false)
- end
- end
- if key==40 or key==83 then
- if players[name] then
- local id
- if tfm.get.room.playerList[name].isFacingRight then
- id=tfm.exec.addShamanObject(17,x+2,y+10,90,5,10,false)
- id=tfm.exec.moveObject(17,2,0,0,2,10)
- else
- id=tfm.exec.addShamanObject(17,x+2,y+10,-90,-5,0,false)
- id=tfm.exec.moveObject(17,2,0,0,2,-10)
- end
- end
- end
- end
- function eventNewPlayer(playerName)
- ui.addTextArea(401,"<p align='center'><a href='event:affichage'><b>Menu</b></a></p>",playerName,228,20,53,16,0x000001,0x000001,0.6,true,0.8,true)
- ui.addTextArea(402,"<a href='event:fly'><b>Fly : <font color='#F96868'>OFF</font></b></a>",playerName,5, 20, 65, 16, 0x000001, 0x000001, 0.6,true)
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp : <font color='#F96868'>OFF</font></b></a></p>",playerName,78,20,65,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp : <font color='#F96868'>OFF</font></a></p>",playerName,150,20,69,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(0, "<b><J>Undead' <VP>Version "..version..".3<N> By : <V>Erikq<VP> OPEN!!", all, 0, 380, x, 20, 0, true)
- t=0
- ui.addTextArea(1,"<VP><B>"..playerName.."</B><N> a accesat casa tribului <B><VP>:)",nil,6,380,x,20,0x000001,0x000001,1,true)
- tfm.exec.bindKeyboard(playerName, 32, true, true)
- system.bindMouse(playerName, true)
- for index,player in pairs(ban) do
- tfm.exec.killPlayer(player);
- tfm.exec.setPlayerScore(player, 0, false);
- ui.addTextArea(800,"",player,0,0,800,400,0x000001,0x000001,0.2,true)
- end
- end
- function eventPlayerLeft(playerName)
- t=0
- ui.addTextArea(1,"<R><B>"..playerName.."</B><N> a părăsit casa tribului <B><R>:(",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- function eventLoop(currentTime,timeRemaining)
- t=t+1
- if t==15 then
- ui.removeTextArea(1,name)
- ui.removeTextArea(2,name)
- end
- if t==10000 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> se restartează comenzile in <J><B>5..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==10002 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> se restartează comenzile in <J><B>4..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==10004 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> se restartează comenzile in <J><B>3..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==10006 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> se restartează comenzile in <J><B>2..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==10008 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> se restartează comenzile in <J><B>1..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==10010 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> se restartează comenzile in <J><B>0..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==11000 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> Se închid comenzile in <J><B>5..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==11002 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> Se închid comenzile in <J><B>4..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==11004 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> Se închid comenzile in <J><B>3..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==11006 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> Se închid comenzile in <J><B>2..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==11008 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> Se închid comenzile in <J><B>1..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==11010 then
- ui.addTextArea(1,"<J><B>[Bot]</B><N> Se închid comenzile in <J><B>Stop..",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if t==11011 then
- system.exit()
- end
- end
- function eventTextAreaCallback(id,name,callback)
- if callback=="affichage" then
- ui.removeTextArea(401,name)
- ui.addTextArea(404,"<p align='center'><a href='event:affichagemoins'><b><R>Close</b></a> <BL>| <V><a href='event:couleur'><b>Color </b></a><BL>| <V><a href='event:menujoueur'><b>Comenzi </b></a><BL>| <V><a href='event:menuadmin'><b>Admin </b></a><BL>| <V><a href='event:hobiect'><b>Obiecte </b></a> <BL>| <V><a href='event:reguli'><b>Reguli</b></a> <BL>| <a href='event:script'><b><V>Script</b></a><BL> | <a href='event:vip'><b><V>Vip</b></a><BL> | <a href='event:report'><b><V>Report</b></a></p>",name,228,20,480,16,0x000001,0x000001,0.6,true)
- elseif callback=="script" then
- if Script(name) then
- ui.removeTextArea(801,name)
- ui.addTextArea(501,"<p align='center'><BL>|<R><a href='event:closescript'><b>Close</font></b></a><BL> | <a href='event:rst'><b><BV>Restart</b></a><BL> | <a href='event:inch'><b><BV>Inch</b></a> <BL>| <a href='event:spam'><b><BV>spam</b></a> <BL>| <a href='event:newvr'><b><BV>vr</b></a><BL> | <a href='event:regl1'><b><BV>regl1</b></a><BL> | <a href='event:regl2'><b><BV>regl2</b></a><BL> | <a href='event:regl3'><b><BV>regl3</b></a><BL> | <a href='event:regl4'><b><BV>regl4</b></a><BL> | <a href='event:regl5'><b><BV>regl5</b></a></p>",name,5,45,x,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(800,"<p align='center'><a href='event:explmed'><b>Med : <font color='#F96868'>OFF</font></b></a></p>",name,476,45,69,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(801,"<p align='center'><a href='event:explmax'><b>Max : <font color='#F96868'>OFF</font></b></a></p>",name,555,45,69,16,0x000001,0x000001,0.6,true)
- elseif name~="admin" then
- ui.addPopup(100,0,"<p align='center'><font color='#FD6A6A' size='15'>Nu faci parte pe lista SuperAdmin</font></p><br><br><font color='#FD6A6A' size='15'>• De ce nu poti fi SuperAdmin(Script) ?</font><br>1 :Pentru ca <font color='#BABD2F' size='15'>Erikq</font> a aprobat doar pentru SuperAdmin(script)<br>2 : Protectia si siguranta jucatorului(daca cineva ar face spam cu rea intentie va crea lag incat sa se blocheze unele calculatore ale membrilor)<br>3 : Trebuie sa fi aprobat de <font color='#BABD2F' size='15'>Frentzytime si Somnorosull</font> ca sa fi SuperAdmin",name,200,129,400);
- end
- elseif callback=="explmax" then
- ui.addTextArea(801,"<p align='center'><a href='event:explmaxoff'><b>Max : <font color='#86ED89'>ON</font></b></a></p>",name,555, 45, 69, 16, 0x000001, 0x000001, 0.6,true)
- maxExplosion[name] = true
- elseif callback=="explmaxoff" then
- ui.addTextArea(801,"<p align='center'><a href='event:explmax'><b>Max : <font color='#F96868'>OFF</font></b></a></p>",name,555,45,69,16,0x000001,0x000001,0.6,true)
- maxExplosion[name] = false
- elseif callback=="explmed" then
- ui.addTextArea(800,"<p align='center'><a href='event:explmedoff'><b>Med : <font color='#86ED89'>ON</font></b></a></p>",name,476, 45, 69, 16, 0x000001, 0x000001, 0.6,true)
- medExplosion[name] = true
- elseif callback=="explmedoff" then
- ui.addTextArea(800,"<p align='center'><a href='event:explmed'><b>Med : <font color='#F96868'>OFF</font></b></a></p>",name,476,45,69,16,0x000001,0x000001,0.6,true)
- medExplosion[name] = false
- elseif callback=="halls" then
- tfm.exec.newGame('<C><P APS="x_evenements/x_fondSVb.png,0,940,0,800,400" L="1660" D="x_evenements/x_fondSVa.jpg" d="x_evenements/x_fondSVc.png" /><Z><S><S Y="201" T="12" P="0,0,0,0.2,90,0,0,0" L="400" o="12bd94" m="" X="-4" H="10" /><S Y="390" T="12" P="0,0,0.3,0.2,0,0,0,0" L="200" o="12bd94" m="" X="101" H="20" /><S Y="403" T="12" P="0,0,0.3,0.2,0,0,0,0" L="310" o="12bd94" m="" X="354" H="20" /><S Y="389" T="12" P="0,0,0.3,0.2,0,0,0,0" L="400" o="12bd94" m="" X="706" H="20" /><S Y="401" T="12" P="0,0,0.3,0.2,0,0,0,0" L="720" o="12bd94" m="" X="1300" H="20" /><S Y="390" T="12" P="0,0,0.3,0.2,-30,0,0,0" L="30" o="12bd94" m="" X="497" H="10" /><S Y="393" T="12" P="0,0,0.3,0.2,40,0,0,0" L="30" o="12bd94" m="" X="210" H="10" /><S Y="390" T="12" P="0,0,0.3,0.2,15,0,0,0" L="50" o="12bd94" m="" X="927" H="10" /><S Y="241" T="9" P="0,0,,,,0,0,0" L="57" m="" X="1630" H="300" /><S Y="265" T="12" P="0,0,0.3,0.2,0,0,0,0" L="850" o="12bd94" m="" X="1174" H="10" /><S Y="148" T="12" P="0,0,0.3,0.2,0,0,0,0" L="850" o="12bd94" m="" X="1176" H="10" /><S Y="201" T="12" P="0,0,0,0.2,-90,0,0,0" L="420" o="12bd94" m="" X="1664" H="10" /><S Y="-10" T="12" P="0,0,0.3,0,0,0,0,0" L="720" o="12bd94" m="" X="1309" H="20" /><S Y="273" T="12" P="0,0,0.3,0.2,0,0,0,0" L="40" o="12bd94" m="" X="629" H="10" /><S Y="214" T="12" P="0,0,0.3,0.2,0,0,0,0" L="60" o="12bd94" m="" X="565" H="10" /><S Y="66" T="12" P="0,0,0.3,0.2,0,0,0,0" L="280" o="12bd94" m="" X="266" H="10" /><S Y="218" T="12" P="0,0,0.3,0.2,90,0,0,0" L="200" o="12bd94" m="" X="429" H="10" /></S><D><DS Y="362" X="89" /><P Y="143" T="68" X="844" P="0,0" /><P Y="142" T="67" X="801" P="0,0" /><P Y="143" T="67" X="890" P="0,1" /><P Y="259" T="68" X="850" P="0,0" /><P Y="143" T="68" X="1017" P="0,0" /><P Y="143" T="68" X="1182" P="0,0" /><P Y="143" T="68" X="1334" P="0,0" /><P Y="143" T="68" X="1507" P="0,0" /><P Y="260" T="68" X="1513" P="0,0" /><P Y="260" T="68" X="1339" P="0,0" /><P Y="260" T="68" X="1174" P="0,0" /><P Y="260" T="68" X="1019" P="0,0" /><P Y="390" T="68" X="1115" P="0,0" /><P Y="389" T="68" X="1285" P="0,0" /><P Y="391" T="68" X="1459" P="0,0" /><P Y="260" T="67" X="809" P="0,0" /><P Y="143" T="67" X="975" P="0,0" /><P Y="144" T="67" X="1137" P="0,0" /><P Y="144" T="67" X="1290" P="0,0" /><P Y="144" T="67" X="1464" P="0,0" /><P Y="260" T="67" X="971" P="0,0" /><P Y="260" T="67" X="1131" P="0,0" /><P Y="259" T="67" X="1296" P="0,0" /><P Y="260" T="67" X="1468" P="0,0" /><P Y="391" T="67" X="1415" P="0,0" /><P Y="390" T="67" X="1240" P="0,0" /><P Y="391" T="67" X="1070" P="0,0" /><P Y="260" T="67" X="894" P="0,1" /><P Y="390" T="67" X="1504" P="0,1" /><P Y="391" T="67" X="1331" P="0,1" /><P Y="390" T="67" X="1160" P="0,1" /><P Y="144" T="67" X="1552" P="0,1" /><P Y="144" T="67" X="1380" P="0,1" /><P Y="143" T="67" X="1230" P="0,1" /><P Y="143" T="67" X="1063" P="0,1" /><P Y="260" T="67" X="1063" P="0,1" /><P Y="260" T="67" X="1220" P="0,1" /><P Y="260" T="67" X="1387" P="0,1" /><P Y="259" T="67" X="1558" P="0,1" /></D><O><O C="22" Y="282" X="1108" P="0" /></O></Z></C>')
- tfm.exec.setUIMapName("<rose>Halloween <BL>- @2")
- tfm.exec.setGameTime(500,true)
- elseif callback=="hall" then
- tfm.exec.newGame('<C><P L="3000" H="734" DS="m;175" D="x_evenements/x_fondHalloween.jpg" d="x_evenements/x_fondHalloween2.png" Ca="" defilante="0,0,0,1"/><Z><S><S L="1070" o="12bd94" X="1330" H="25" Y="710" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="734" o="12bd94" X="3005" H="20" Y="368" T="12" m="" P="0,0,20,0.2,-90,0,0,0" /><S L="734" o="12bd94" X="0" H="10" Y="367" T="12" m="" P="0,0,0,0.2,90,0,0,0" /><S L="580" o="12bd94" X="2421" H="10" Y="398" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="1000" o="12bd94" X="2394" H="10" Y="481" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="50" o="12bd94" X="1871" H="25" Y="697" T="12" m="" P="0,0,0.3,0.2,-30,0,0,0" /><S L="800" o="12bd94" X="396" H="25" Y="710" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="70" o="12bd94" X="1932" H="25" Y="705" T="12" m="" P="0,0,0.3,0.2,40,0,0,0" /><S L="30" o="12bd94" X="1900" H="25" Y="686" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="1070" o="12bd94" X="2480" H="25" Y="725" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" o="12bd94" X="2020" H="10" Y="633" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" o="12bd94" X="2258" H="10" Y="597" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="150" o="12bd94" X="2443" H="20" Y="659" T="12" m="" P="0,0,1,0.2,0,0,0,0" /><S L="400" o="12bd94" X="2833" H="10" Y="583" T="12" m="" P="0,0,0,0.2,-28,0,0,0" /><S L="170" o="12bd94" X="2445" H="10" Y="603" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="240" o="12bd94" X="2416" H="10" Y="326" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2768" H="10" Y="441" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2672" H="10" Y="356" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2733" H="10" Y="336" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2791" H="10" Y="314" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2850" H="10" Y="296" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2904" H="10" Y="274" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2958" H="10" Y="256" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2903" H="10" Y="214" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="890" o="12bd94" X="2389" H="10" Y="244" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="160" o="12bd94" X="2850" H="10" Y="89" T="12" m="" P="0,0,20,0.2,-90,0,0,0" /><S L="10" o="12bd94" X="2731" H="10" Y="181" T="12" m="" P="0,0,0,0.2,0,0,0,0" /><S L="10" o="12bd94" X="2790" H="10" Y="98" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" o="12bd94" X="2738" H="10" Y="59" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" o="12bd94" X="2606" H="10" Y="129" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" o="12bd94" X="2479" H="10" Y="73" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" o="12bd94" X="2430" H="10" Y="194" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" o="12bd94" X="2305" H="10" Y="119" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="330" o="12bd94" X="2069" H="10" Y="142" T="12" m="" P="0,0,0.0,0.2,22,0,0,0" /><S L="310" o="12bd94" X="2167" H="10" Y="67" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="70" o="12bd94" X="2324" H="10" Y="37" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="50" o="12bd94" X="1893" H="10" Y="80" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="240" o="12bd94" X="1773" H="10" Y="147" T="12" m="" P="0,0,0,0.2,-35,0,0,0" /><S L="340" o="12bd94" X="1734" H="10" Y="475" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="150" o="12bd94" X="1545" H="40" Y="545" T="12" m="" P="0,0,0,0.2,-90,0,0,0" /><S L="120" o="12bd94" X="1546" H="20" Y="393" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="120" o="12bd94" X="1523" H="20" Y="344" T="12" m="" P="0,0,0.3,0.2,-70,0,0,0" /><S L="120" o="12bd94" X="1568" H="20" Y="341" T="12" m="" P="0,0,0.3,0.2,60,0,0,0" /><S L="70" o="12bd94" X="1531" H="50" Y="264" T="12" m="" P="0,0,0,0.2,0,0,0,0" /><S L="40" o="12bd94" X="1107" H="20" Y="313" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="1666" H="10" Y="213" T="12" m="" P="0,0,0,0.2,-5,0,0,0" /><S L="10" o="12bd94" X="1898" H="260" Y="211" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" o="12bd94" X="995" H="20" Y="374" T="12" m="" P="0,0,0,0.2,-20,0,0,0" /><S L="40" o="12bd94" X="648" H="20" Y="486" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="695" o="12bd94" X="2667" H="10" Y="-2" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="2077" H="10" Y="441" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" o="12bd94" X="602" H="10" Y="429" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" o="12bd94" X="430" H="20" Y="504" T="12" m="" P="0,0,0,0.2,-20,0,0,0" /><S L="40" o="12bd94" X="1028" H="20" Y="496" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="1167" H="20" Y="413" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="1286" H="20" Y="481" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="1427" H="20" Y="495" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="695" o="12bd94" X="2134" H="10" Y="-1" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" o="12bd94" X="1899" H="10" Y="514" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="40" o="12bd94" X="1899" H="10" Y="551" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" o="12bd94" X="85" H="10" Y="662" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /></S><D /><O><O X="1027" C="22" Y="471" P="0" /><O X="1167" C="22" Y="387" P="0" /><O X="1285" C="22" Y="455" P="0" /><O X="1425" C="22" Y="469" P="0" /><O X="1108" C="22" Y="282" P="0" /><O X="982" C="22" Y="346" P="0" /><O X="1682" C="22" Y="184" P="0" /><O X="1727" C="22" Y="153" P="0" /><O X="2276" C="22" Y="45" P="0" /><O C="22" Y="45" P="0" X="2301" /><O C="22" Y="25" P="0" X="2399" /><O P="0" C="22" Y="37" X="2424" /><O C="22" Y="29" X="2375" P="0" /><O C="22" Y="100" X="2306" P="0" /><O X="2606" C="22" Y="105" P="0" /><O X="2479" C="22" Y="50" P="0" /><O X="2738" C="22" Y="36" P="0" /><O X="2876" C="22" Y="38" P="0" /><O X="2370" C="22" Y="304" P="0" /><O X="2469" C="22" Y="304" P="0" /><O X="2422" C="22" Y="373" P="0" /><O X="2420" C="22" Y="449" P="0" /><O X="2444" C="22" Y="560" P="0" /><O X="2274" C="22" Y="580" P="0" /><O X="551" C="22" Y="649" P="0" /><O X="866" C="22" Y="648" P="0" /><O X="1276" C="22" Y="651" P="0" /><O X="120" C="22" Y="518" P="0" /><O X="418" C="22" Y="476" P="0" /><O X="140" C="22" Y="518" P="0" /><O X="120" C="22" Y="533" P="0" /><O X="140" C="22" Y="533" P="0" /><O X="603" C="22" Y="411" P="0" /><O X="1900" C="22" Y="650" P="0" /><O X="1615" C="22" Y="450" P="0" /><O X="2080" C="22" Y="416" P="0" /><O X="2533" C="22" Y="220" P="0" /><O X="1941" C="22" Y="62" P="0" /><O X="648" C="22" Y="456" P="0" /><O X="388" C="22" Y="486" P="0" /><O X="442" C="22" Y="467" P="0" /><O X="960" C="22" Y="355" P="0" /><O X="2349" C="22" Y="37" P="0" /></O></Z></C>')
- tfm.exec.setUIMapName("Halloween <BL>- @1")
- tfm.exec.setGameTime(500,true)
- elseif callback=="craciun" then
- tfm.exec.newGame('<C><P D="x_evenements/x_fondNowel2013.jpg" /><Z><S><S Y="397" T="12" P="0,0,0.3,0.2,0,0,0,0" L="800" o="12bd94" m="" X="400" H="25" /><S Y="361" T="12" P="0,0,0.3,0.2,0,0,0,0" L="125" o="12bd94" m="" X="254" H="25" /><S Y="361" T="12" P="0,0,0.3,0.2,0,0,0,0" L="300" o="12bd94" m="" X="136" H="60" /><S Y="201" T="12" P="0,0,0.3,0.2,0,0,0,0" L="20" o="12bd94" m="" X="-10" H="400" /><S Y="201" T="12" P="0,0,0.3,0.2,0,0,0,0" L="20" o="12bd94" m="" X="811" H="400" /><S Y="372" T="12" P="0,0,0.3,0.2,0,0,0,0" L="125" o="12bd94" m="" X="284" H="25" /><S Y="385" T="12" P="0,0,0.3,0.2,0,0,0,0" L="125" o="12bd94" m="" X="312" H="25" /><S Y="316" T="12" P="0,0,0.3,0.2,0,0,0,0" L="140" o="12bd94" m="" X="495" H="10" /><S Y="210" T="12" P="0,0,0.3,0.2,-70,0,0,0" L="160" o="12bd94" m="" X="233" H="10" /><S Y="212" T="12" P="0,0,0.3,0.2,-70,0,0,0" L="160" o="12bd94" m="" X="249" H="10" /><S Y="187" T="12" P="0,0,0.3,0.2,0,0,0,0" L="170" o="12bd94" m="" X="80" H="10" /><S Y="135" T="12" P="0,0,0.3,0.2,0,0,0,0" L="560" o="12bd94" m="" X="536" H="10" /><S Y="108" T="12" P="0,0,0.3,0.2,0,0,0,0" L="40" o="12bd94" m="" X="422" H="40" /><S Y="120" T="12" P="0,0,0.3,0.2,0,0,0,0" L="20" o="12bd94" m="" X="365" H="40" /><S Y="115" T="12" P="0,0,0.3,0.2,0,0,0,0" L="10" o="12bd94" m="" X="656" H="40" /><S Y="107" T="12" P="0,0,0.3,0.2,0,0,0,0" L="10" o="12bd94" m="" X="752" H="50" /><S Y="119" T="12" P="0,0,0.3,0.8,0,0,0,0" L="90" o="12bd94" m="" X="705" H="40" /><S Y="-9" T="12" P="0,0,0.3,0.2,90,0,0,0" L="20" o="12bd94" m="" X="404" H="900" /></S><D><T Y="329" X="91" /><DS Y="317" X="89" /></D><O /></Z></C>')
- tfm.exec.setGameTime(500,true)
- tfm.exec.setUIMapName("Crăciun<BL> - @0")
- elseif callback=="closescript" then
- ui.removeTextArea(501,name)
- ui.removeTextArea(800,name)
- ui.removeTextArea(801,name)
- elseif callback=="regl1" then
- ui.addPopup(100,0,"<p align='center'><font color='#6C77C1' size='15'>Regula 1/2013 : </font><font color='#C2C2DA' size='15'>Ori ce bug la comenzi sau defecțiuni este obligatoriu</font><font color='#FD6A6A' size='15'> Restart</font></p>",name,159,129,510);
- elseif callback=="regl2" then
- ui.addPopup(100,0,"<p align='center'><font color='#6C77C1' size='15'>Regula 2/2013 : </font><font color='#C2C2DA' size='15'>Administratorii sunt doar : </font><font color='#A4CF9E' size='15'>Creatorul comenzilor,Sefii si Co-sefii tribului</font></p>",name,159,129,510);
- elseif callback=="regl3" then
- ui.addPopup(100,0,"<p align='center'><font color='#6C77C1' size='15'>Regula 3/2013 : </font></font><font color='#C2C2DA' size='15'>Protectia si siguranta jucatorului</font></p>",name,159,129,510);
- elseif callback=="regl4" then
- ui.addPopup(100,0,"<p align='center'><font color='#6C77C1' size='15'>Regula 4/2014 : </font></font><font color='#C2C2DA' size='15'>Oricine face cu obiectele shamanului spam primeste ban </font><font color='#FD6A6A' size='15'>1 minut</font></font><font color='#C2C2DA' size='15'>. Cine face de 2 ori spam primeste ban </font><font color='#FD6A6A' size='15'>2 minute</font><font color='#C2C2DA' size='15'>. Cine face de 3 ori spam primeste ban </font><font color='#FD6A6A' size='15'>10 minute</font></p>",name,159,129,510);
- elseif callback=="regl5" then
- ui.addPopup(100,0,"<p align='center'><font color='#6C77C1' size='15'>Regula 5/2014 : </font><font color='#A4CF9E' size='15'>Seful tribului</font><font color='#C2C2DA' size='15'> are permisiunea sa adauge un administrator sau mai multi</font><font color='#FD6A6A' size='15'>(TEMPORAR)</font></p>",name,159,129,510);
- elseif callback=="reguli" then
- print("<BV>["..name.."] <R>a deschis butonul : <J>Reguli")
- ui.addTextArea(100,"<p align='center'><a href='event:closeversion'><b><font zise='15'>X</font></a></p>", name, 615, 335, 40, 20, 0x000001, 0x000001, 0.7, true);
- ui.addTextArea(101, "<p align='center'><font size='15' color='#AAAAAA'><b>Regurile Comenzilor </b></font></p><br><br><B><u>Regula :</u></B><br><br><BL>1/2013 : <N>Orice bug sau defecțiuni la comenzi este obligatoriu <R>Restart<br><BL>2/2013 : <N>Administratorii sunt doar : <T>Creatorul comenzilor, Sefii si Co-sefii <N>tribului<br><BL>3/2013 : <N>Protecția jucătorului<br><BL>4/2014 : <N>Oricine face spam cu obiectele primește ban <R>1 minut<N> ,cine face de 2 ori spam primește ban <R>2 minute<N> dacă se face de 3 ori spam primește <R>10 minute ban<N>.<br><BL>5/2014 : <T>Șeful tribului<N> are permisiunea să adauge un administrator sau mai mulți <VP>(Temporar).<br><BL>6/2014 : <N>Orice bug vedeți la comenzi trebuie raportat la : <T>Erikq<br><BL>7/2014 : <N><CH>VIP <N>se primește doar când ai rankul : <V>VIP<br><BL>8/2015 : <N>Este interzis să se adauge în casa tribului videoclipuri ce conțin : <R><B>Pornografic</B>", name, 154, 75, 500, 250, 0x000001, 0x000000, 0.7, true);
- elseif callback=="reguli" then
- ui.removeTextArea(100,name)
- ui.removeTextArea(101,name)
- elseif callback=="msgadmins" then
- ui.addPopup(4,2,"<p align='center'></b></font><font size='15'>scrie un mesaj :",name,200,300,400)
- elseif callback=="affichagemoins" then
- ui.addTextArea(401,"<p align='center'><a href='event:affichage'><b>Menu</b></a></p>",name,228,20,53,16,0x000001,0x000001,0.6,true)
- ui.removeTextArea(404,name)
- ui.removeTextArea(501,name)
- ui.removeTextArea(5011,name)
- ui.removeTextArea(502,name)
- ui.removeTextArea(503,name)
- ui.removeTextArea(504,name)
- ui.removeTextArea(505,name)
- ui.removeTextArea(506,name)
- ui.removeTextArea(507,name)
- ui.removeTextArea(508,name)
- ui.removeTextArea(509,name)
- ui.removeTextArea(510,name)
- ui.removeTextArea(511,name)
- ui.removeTextArea(512,name)
- ui.removeTextArea(4051,name)
- ui.removeTextArea(4052,name)
- ui.removeTextArea(4053,name)
- ui.removeTextArea(4054,name)
- ui.removeTextArea(4055,name)
- ui.removeTextArea(4056,name)
- elseif callback=="menujoueur" then
- ui.removeTextArea(502,name)
- ui.removeTextArea(500,name)
- ui.addTextArea(501,"<p align='center'><BL>|<R><a href='event:menujoueurclose'><b>Close </font></b></a><BL>| <a href='event:respawn'><b><font color='#86ED89'>Respawn </font></b></a><BL>| <a href='event:fromage'><b><font color='#86ED89'>Cheese</font></b></a> <BL>| <a href='event:win'><b><font color='#86ED89'>Win</font></b></a> <BL>| <a href='event:vampire'><b><font color='#86ED89'>Vampire</font></b></a> <BL>| <a href='event:chamane'><b><font color='#86ED89'>Shaman</font></b></a> <BL>| <a href='event:meep'><b><font color='#86ED89'>Meep</font></b></a> <BL>| <a href='event:mort'><b><font color='#86ED89'>Kill</font></b></a> <BL>| <a href='event:Admlist'><b><font color='#86ED89'>Admlist</font></b></a> <BL>| <a href='event:roomsay'><b><font color='#86ED89'>Comment</font></b></a> <BL>| <a href='event:temps'><b><font color='#86ED89'>Time</font></b></a> <BL>| <a href='event:map'><b><font color='#86ED89'>Map</font></b></a> <BL>| <a href='event:banlist'><font color='#86ED89'>Banlist</font></a> <BL>| <a href='event:chamall'><b><font color='#86ED89'>ShamanAll</font></b></a> <BL>| </p>",name,5,45,790,16,0x000001,0x000001,0.6,true)
- ui.removeTextArea(4051,name)
- ui.removeTextArea(511,name)
- ui.removeTextArea(512,name)
- ui.removeTextArea(4052,name)
- ui.removeTextArea(4053,name)
- ui.removeTextArea(4054,name)
- ui.removeTextArea(4055,name)
- ui.removeTextArea(4056,name)
- ui.removeTextArea(4057,name)
- elseif callback=="closeversion" then
- ui.removeTextArea(100,name)
- ui.removeTextArea(101,name)
- elseif callback=="hobiect" then
- ui.removeTextArea(501,name)
- ui.addTextArea(500,"<p align='center'><a href='event:incheie'><font color='#F96868'><b>Close</b></a> <BL>| <a href='event:sageata'><font color='#60027A'><b>1</b></a> <BL>| <a href='event:cutiemica'><font color='#9F5800'><b>2</b></a> <BL>| <a href='event:cutiemare'><font color='#9F5800'><b>3</b></a> <BL>| <a href='event:lemnmic'><font color='#9F5800'><b>4</b></a> <BL>| <a href='event:lemnmare'><font color='#9F5800'><b>5</b></a> <BL>| <a href='event:minge'><font color='#ECE001'><b>6</b></a> <BL>| <a href='event:trambulina'><font color='#005C00'><b>7</b></a> <BL>| <a href='event:anvila'><font color='#434443'><b>8</b></a> <BL>| <a href='event:canonup'><font color='#FFFFFF'><b>9</b></a> <BL>| <a href='event:canons'><font color='#FFFFFF'><b>10</b></a> <BL>| <a href='event:canones'><font color='#FFFFFF'><b>11</b></a> <BL>| <a href='event:canonese'><font color='#FFFFFF'><b>12</b></a> <BL>| <a href='event:bomb'><font color='#1C1C1C'><b>13</b></a> <BL>| <a href='event:portal'><font color='#0049FF'><b>14</b></a> <BL>| <a href='event:portals'><font color='#C16402'><b>15</b></a> <BL>| <a href='event:balon'><font color='#FFFFFF'><b>16</b></a> <BL>| <a href='event:runa'><font color='#FFB700'><b>17</b></a> <BL>| <a href='event:sow'><font color='#BEBEBE'><b>18</b></a> <BL>| <a href='event:van'><font color='#DF00D8'><b>19</b></a> <BL>| <a href='event:mar'><font color='#05DF17'><b>20</b></a> <BL>| <a href='event:sheep'><font color='#FFFFFF'><b>21</b></a> <BL>| <a href='event:gheata'><font color='#05DFC5'><b>22</b></a> <BL>| <a href='event:bule'><font color='#FFFFFF'><b>23</b></a> <BL>| <a href='event:mic'><font color='#9F5800'><b>24</b></a> <BL>| <a href='event:cutiein'><font color='#9F5800'><b>25</b></a> <BL>| <a href='event:nor'><font color='#FFFFFF'><b>26</b></a><BL>|</p></font>",name,5,45,730,16,0x000001,0x000001,0.6,true)
- elseif callback=="incheie" then
- ui.removeTextArea(500,name)
- elseif callback=="sageata" then
- tfm.exec.addShamanObject(0,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif callback=="cutiemica" then
- tfm.exec.addShamanObject(1,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="cutiemare" then
- tfm.exec.addShamanObject(2,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="lemnmic" then
- tfm.exec.addShamanObject(3,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="lemnmare" then
- tfm.exec.addShamanObject(4,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="minge" then
- tfm.exec.addShamanObject(6,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif callback=="trambulina" then
- tfm.exec.addShamanObject(7,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif callback=="anvila" then
- print("<CH>["..name.."] <N>a adaugat in sala o nicovala")
- tfm.exec.addShamanObject(10,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="canonup" then
- tfm.exec.addShamanObject(17,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="canons" then
- tfm.exec.addShamanObject(18,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="canones" then
- tfm.exec.addShamanObject(19,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="canonese" then
- tfm.exec.addShamanObject(20,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="bomb" then
- print("<CH>["..name.."] <N>a adaugat bombe")
- tfm.exec.addShamanObject(23,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="portal" then
- tfm.exec.addShamanObject(26,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif callback=="portals" then
- tfm.exec.addShamanObject(27,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif callback=="balon" then
- tfm.exec.addShamanObject(28,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="runa" then
- print("<BV>["..name.."] a adaugat runa")
- tfm.exec.addShamanObject(32,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="sow" then
- tfm.exec.addShamanObject(34,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif callback=="van" then
- tfm.exec.addShamanObject(35,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="mar" then
- tfm.exec.addShamanObject(39,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="sheep" then
- tfm.exec.addShamanObject(40,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="gheata" then
- print("<CH>["..name.."] <N>a adaugat obiect ID = 54 > gheata")
- tfm.exec.addShamanObject(54,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="bule" then
- tfm.exec.addShamanObject(59,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="mic" then
- tfm.exec.addShamanObject(60,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="cutiein" then
- print("<CH>["..name.."] <N>a adaugat cutie Id = 61 > 25")
- tfm.exec.addShamanObject(61,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="nor" then
- print("<CH>["..name.."] <N>a adaugat un nor Id = 57 > 26")
- tfm.exec.addShamanObject(57,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ui.removeTextArea(500,name)
- elseif callback=="menujoueurclose" then
- ui.removeTextArea(501,name)
- ui.removeTextArea(5011,name)
- elseif callback=="menuadmin" then
- if Admin(name) then
- ui.removeTextArea(500,name)
- ui.removeTextArea(5011,name)
- ui.addTextArea(502,"<p align='center'><a href='event:menuadminclose'><R><b>Close</b> <BL>| <a href='event:stop'><R><b>STOP</b></a> <BL>| <a href='event:tuer'><V><b>Kill's</b></a> <BL>| <a href='event:ban'><J><b>Ban</b></a> <BL>| <a href='event:grade'><b><V>AddAdm</b></a> <BL>| <a href='event:killall'><b><V>Kill all</b></a> <BL>| <a href='event:allcheese'><b><V>CheeseAll</b></a> <BL>| <a href='event:allwin'><V><b>WinAll</b></a> <BL>| <J><a href='event:unbanall'><b>UnbanAll</font></b></a><BL> | <R><a href='event:msgadmins'>Commadmin<b></a><BL> | <J><a href='event:unban'>Unban<b></a>",name,5,45,740,16,0x000001,0x000001,0.6,true)
- elseif name~="admin" then
- ui.addPopup(100,0,"<p align='center'><font color='#FD6A6A' size='15'>Nu faci parte pe lista Admin</font></p><br><br><font color='#FD6A6A' size='15'>• De ce nu poti fi administrator ?</font><br>1 :Pentru ca Sefii <font color='#BABD2F' size='15'>Frentzytime,Somnorosull</font> au aprobat doar pentru administratori<br>2 : Protectia si siguranta jucatorului(daca cineva ar face spam cu rea intentie va crea lag incat sa se blocheze unele calculatore ale membrilor)<br>3 : Trebuie sa ai rank maxim",name,200,129,400);
- end
- elseif callback=="menuadminclose" then
- ui.removeTextArea(502,name)
- elseif callback=="spam" then
- ui.addPopup(100,0,"<p align='center'><font color='#FD6A6A' size='15'>[Bot] : Vă rog nu faceți spam cu obiectele șhaman ,poate cauza lag(3968) și poate ajunge la intreruperi de server. Dacă nu se respectă regulamentul se va da ban 1 minut motiv : Spam</font></p>",nil,159,129,510)
- elseif callback=="rst" then
- t=9996
- ui.addTextArea(1,"<J><B>[Bot]</B><N> se restartează comenzile",nil,6,380,x,20,0x000001,0x000001,1,true)
- elseif callback=="inch" then
- print("...")
- elseif callback=="killall" then
- t=0
- ui.addTextArea(1,"<J><B>[Admin "..name.."]</B><N> a omorât pe toți ,CRIMINALUL!!",nil,6,380,x,20,0x000001,0x000001,1,true)
- for name in pairs(tfm.get.room.playerList) do tfm.exec.killPlayer(name) end
- elseif callback=="allcheese" then
- t=0
- ui.addTextArea(1,"<J><B>[Admin "..name.."] </B><N> a dat la toată lumea brânză :)",nil,6,380,x,20,0x000001,0x000001,1,true)
- for name in pairs(tfm.get.room.playerList) do tfm.exec.giveCheese(name) end
- elseif callback=="allwin" then
- t=0
- ui.addTextArea(1,"<J><B>[Admin "..name.."]</B><N> Toți WIN !!!!!",nil,6,380,x,20,0x000001,0x000001,1,true)
- for name in pairs(tfm.get.room.playerList) do tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name) end
- elseif callback=="fly" then
- print("<BV>["..name.."] <R>a pornit butonul : <VP>Fly")
- ui.addTextArea(402,"<p align='center'><a href='event:flyoff'><b>Fly : <font color='#86ED89'>ON</font></b></a></p>",name,5, 20, 65, 16, 0x000001, 0x000001, 0.6,true)
- canFly[name] = true
- elseif callback=="flyoff" then
- print("<BV>["..name.."] <R>a oprit butonul : <VP>Fly")
- ui.addTextArea(402,"<p align='center'><a href='event:fly'><b>Fly : <font color='#F96868'>OFF</font></b></a></p>",name,5, 20, 65, 16, 0x000001, 0x000001, 0.6,true)
- canFly[name] = false
- elseif callback=="expl" then
- print("<BV>["..name.."] <R>a pornit butonul : <VP>Explosion")
- ui.addTextArea(409,"<p align='center'><a href='event:exploff'><b>Exp : <font color='#86ED89'>ON</font></b></a></p>",name,150, 20, 69, 16, 0x000001, 0x000001, 0.6,true)
- canExplosion[name] = true
- elseif callback=="exploff" then
- print("<BV>["..name.."] <R>a oprit butonul : <VP>Explosion")
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp : <font color='#F96868'>OFF</font></b></a></p>",name,150,20,69,16,0x000001,0x000001,0.6,nil,true)
- canExplosion[name] = false
- elseif callback=="tp" then
- print("<BV>["..name.."] <R>a pornit butonul : <VP>TP(Teleport)")
- ui.addTextArea(403,"<p align='center'><a href='event:tpoff'><b>Tp : <font color='#86ED89'>ON</font></b></a></p>",name,78,20,65,16,0x000001,0x000001,0.6,true)
- canTeleport[name] = true
- elseif callback=="tpoff" then
- print("<BV>["..name.."] <R>a oprit butonul : <VP>TP(Teleport)")
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp : <font color='#F96868'>OFF</font></b></a></p>",name,78,20,65,16,0x000001,0x000001,0.6,true)
- canTeleport[name] = false
- elseif callback=="couleur" then
- print("<BV>["..name.."] <R>a deschis <VP>culorile")
- ui.addTextArea(405,"<p align='center'><a href='event:couleuroff'><font color='#F96868'><b>CLOSE</b></font></a> <BL>| <a href='event:couleurbleu'><b><font color='#0000FF'>Blue</font></b></a> <BL>| <a href='event:couleurrouge'><b><font color='#EB1D51'>Red</font></b></a> <BL>| <a href='event:couleurvert'><b><font color='#00ff00'>Green</font></b></a> <BL>| <a href='event:couleurrose'><b><font color='#ED67EA'>Pink</font></b></a> <BL>| <a href='event:couleurjaune'><b><font color='#BABD2F'>Yellow</font></b></a> <BL>| <a href='event:couleurnoir'><b><font color='#000000'>Black</font></b></a> <BL>| <a href='event:couleurblanc'><b><font color='#FFFFFFF'>White</font></b></a> <BL>| <a href='event:mov'><b><font color='#7700A2'>Purple</font></b></a> <BL>| <a href='event:portocaliu'><b><font color='#EB7900'>Orange</font></b></a> <BL>| <a href='event:maro'><b><font color='#5D3C10'>Brown</font></b></a> <BL>| <a href='event:visiniu'><b><font color='#6B0000'>Cherry Red</font></b></a> <BL>| <a href='event:albastrud'><b><font color='#00E0E4'>Blue</font></b></a><BL>|</p>",name,5,45,700,16,0x000001,0x000001,0.6,true)
- ui.removeTextArea(501,name)
- ui.removeTextArea(502,name)
- ui.removeTextArea(503,name)
- ui.removeTextArea(504,name)
- ui.removeTextArea(505,name)
- ui.removeTextArea(506,name)
- ui.removeTextArea(507,name)
- ui.removeTextArea(508,name)
- ui.removeTextArea(509,name)
- ui.removeTextArea(510,name)
- ui.removeTextArea(511,name)
- ui.removeTextArea(512,name)
- elseif callback=="cloeseadmlist" then
- ui.removeTextArea(400,name)
- ui.removeTextArea(401,name)
- elseif callback=="couleuroff" then
- print("<BV>["..name.."] <R>a inchis butonul : <VP>color")
- ui.removeTextArea(405,name)
- elseif callback=="couleurbleu" then
- tfm.exec.setNameColor(name, 0x0000FF)
- elseif callback=="couleurrouge" then
- tfm.exec.setNameColor(name, 0xEB1D51)
- elseif callback=="couleurvert" then
- tfm.exec.setNameColor(name, 0x00ff00)
- elseif callback=="couleurrose" then
- tfm.exec.setNameColor(name, 0xED67EA)
- elseif callback=="couleurjaune" then
- tfm.exec.setNameColor(name, 0xBABD2F)
- elseif callback=="couleurnoir" then
- tfm.exec.setNameColor(name, 0x000001)
- elseif callback=="couleurblanc" then
- tfm.exec.setNameColor(name, 0xFFFFFF)
- elseif callback=="mov" then
- tfm.exec.setNameColor(name, 0x73007E)
- elseif callback=="portocaliu" then
- tfm.exec.setNameColor(name, 0xEB7900)
- elseif callback=="maro" then
- tfm.exec.setNameColor(name, 0x5D3C10)
- elseif callback=="visiniu" then
- tfm.exec.setNameColor(name, 0x6B0000)
- elseif callback=="albastrud" then
- tfm.exec.setNameColor(name, 0x00E0E4)
- elseif callback=="fromage" then
- print("<BV>["..name.."] <R>are branza")
- tfm.exec.giveCheese(name)
- elseif callback=="win" then
- print("<BV>["..name.."] <R>a intrat automat in <VP>hole")
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- elseif callback=="vampire" then
- tfm.exec.setVampirePlayer(name)
- elseif callback=="chamane" then
- print("<BV>["..name.."] <R>este <VP>shaman")
- tfm.exec.setShaman(name)
- elseif callback=="meep" then
- print("<BV>["..name.."] <R>a activat : <VP>Meep")
- tfm.exec.giveMeep(name)
- elseif callback=="mort" then
- print("<BV>["..name.."] <R>a <VP>murit")
- tfm.exec.killPlayer(name)
- elseif callback=="banlist" then
- print("<BV>["..name.."] <R>a deschis butonil : <VP>Banlist")
- local str = "<p align='center'><font color='#F49A9A' size='14'><b>Lista jucătorilor banați :</b></font></p>"
- str = str .. "<br><font color='#F4F19A' size='11'><b>" .. table.concat(ban,'\n') .. "</b></font>"
- ui.addPopup(1004,0, str, name,200,100,400)
- elseif callback=="map" then
- print("<BV>["..name.."] <R>a deschis butonul : <VP>map")
- ui.addPopup(6,2,"scrie un cod de mapă",name,300,200,200)
- elseif callback=="stop" then
- print("<BV>["..name.."] <R>vrea sa oprească <VP>comenzile")
- ui.addTextArea(1,"<J><B>[Bot]</B><N> Se închid comenzile",nil,6,380,x,20,0x000001,0x000001,1,true)
- t=10996
- elseif callback=="roomsay" then
- print("<BV>["..name.."] <R>va scrie un mesaj , <VP>Buton= Menu > Comands > Roomsay")
- ui.addPopup(5,2,"<p align='center'></b></font><font size='15'>scrie un mesaj :",name,200,300,400)
- elseif callback=="tuer" then
- ui.addPopup(8,2,"Cu această comandă poți omorâ un șoarece(nume cont)",name,400,250,200)
- elseif callback=="temps" then
- ui.addPopup(9,2,"Modifică timpul.",name,400,200,200)
- elseif callback=="respawn" then
- print("<BV>["..name.."] <R>sa <VP>respawnat")
- tfm.exec.respawnPlayer(name)
- for index,name in pairs(ban) do
- tfm.exec.killPlayer(name);
- tfm.exec.setPlayerScore(name, 0, false);
- ui.addPopup(100,0,"<p align='center'><font color='#FD6A6A' size='15'>Ești banat ! </font></p>",name,159,129,510);
- end
- elseif callback=="chamall" then
- if Admin(name) then
- tfm.exec.setUIShamanName("Shaman All")
- for name in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(name) end
- elseif name~="admin" then
- ui.addPopup(100,0,"<p align='center'><font color='#FD6A6A' size='15'>Nu ai permisiunea să foloseși comanda : ȘhamanAll</font></p>",name,159,129,510);
- end
- elseif callback=="ban" then
- ui.addPopup(10,2,"<p align='center'><b>Scrie numele jucătorului pe care dorești să-l banezi</p></b>",name,300,200,200)
- elseif callback=="unban" then
- ui.addPopup(2,2,"<p align='center'><b>Scrie numele jucătorului pe care dorești să-l scoți din lista cu jucători banați</p></b>",name,300,200,200)
- elseif callback=="unbanall" then
- t=0
- ui.addTextArea(1,"<J><B>[Admin "..name.."]</B><N> a golit lista cu jucătorii banați",nil,6,380,x,20,0x000001,0x000001,1,true)
- ui.removeTextArea(800,answer)
- ban = {}
- elseif callback=="grade" then
- ui.addPopup(3,2,"<p align='center'><b>Scrie numele jucătorului pe care doresti să-l pui Adminsitrator.</p></b>",name,300,200,200)
- elseif callback=="roomsay" then
- ui.addPopup(5,2,"<p align='center'></b></font><font size='15'>Scrie un mesaj :",name,300,300,400)
- elseif callback=="Admlist" then
- print("<BV>["..name.."] <R>a deschis butonul : <VP>AdmList")
- local str = "<p align='center'><font color='#F4C79A' size='14'><b>Lista cu administratori :</b></font></p>"
- str = str .. "<br><font color='#F49AE5' size='11'><b><J>Erikq<VP>(Alpha CMD)<br><T>Frentzytime(Leader <J>[Tribe]<T>)<br>Somnorosull(Co-Leader <J>LEGEND)<br>Mrdragomir (Co-Leader<J>[Tinkoo]<T>)</b></font><br> █▬█ █ ▀█▀"
- ui.addTextArea(400,"<p align='center'><a href='event:cloeseadmlist'><b><font zise='15'>X</font></a></p>", name, 578, 258, 22, 20, 0x000001, 0x000001, 0.7, true);
- ui.addTextArea(401,"".. str .."",name,200,100,400,150,0x000001,0x000001,0.6,true,0.8,true)
- elseif callback=="vip" then
- ui.removeTextArea(500,name)
- ui.removeTextArea(502,name)
- if Vip(name) then
- ui.addTextArea(501,"<p align='center'><BL>|<R><a href='event:closevip'><b>Close</font></b></a><BL> | <a href='event:allcheesev'><b><J>CheeseAll</b></a><BV> | <a href='event:msgvip'><b><BV>CommVip</b></a> <BL>| <a href='event:dels'><b><V>DellObject</b></a> <BL>| <a href='event:ice'><b><CH>IceKill</b></a><BL> | <a href='event:craciun'><b><J>Craciun</b></a><BL> | <a href='event:hall'><b><J>Hall</b></a><BL> | <a href='event:halls'><b><J>Sf.Valentin</b></a></p>",name,5,45,x,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(805,"<p align='center'><a href='event:ffa'><b>Ffa:<font color='#F96868'>OFF</font></b></a></p>",name,530,45,57,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(905,"<p align='center'><a href='event:teren20'><b>20:<font color='#F96868'>OFF</font></b></a></p>",name,596,45,50,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(915,"<p align='center'><a href='event:teren40'><b>40:<font color='#F96868'>OFF</font></b></a></p>",name,653,45,50,16,0x000001,0x000001,0.6,true)
- ui.addTextArea(925,"<p align='center'><a href='event:teren70'><b>70:<font color='#F96868'>OFF</font></b></a></p>",name,712,45,50,16,0x000001,0x000001,0.6,true)
- elseif name~="vip" then
- ui.addPopup(100,0,"<p align='center'><font color='#FD6A6A' size='15'>Nu faci parte pe lista V.I.P</font></p><br><br><font color='#FD6A6A' size='15'>• De ce nu poți face parte la V.I.P ?</font><br>1 :Pentru că Șefii <font color='#BABD2F' size='15'>Frentzytime,Mrdragomir,Somnorosull</font> au aprobat doar pentru cei cu VIP<br>2 : Protecția și siguranța jucătorului(dacă cineva ar face spam cu rea intenție va crea lag încat să se blocheze unele calculatore ale membrilor)<br>3 : Trebuie sa ai rank Vip",name,200,129,400);
- end
- elseif callback=="teren70" then
- print("<VP>["..name.."] <R>a pornit Terenul <VP>70")
- ui.removeTextArea(925,name)
- ui.addTextArea(926,"<p align='center'><a href='event:terenoff70'><b>70:<font color='#86ED89'>ON</font></b></a></p>",name,712, 45, 50, 16, 0x000001, 0x000001, 0.6,true)
- terenuri[name] = true
- elseif callback=="terenoff70" then
- print("<VP>["..name.."] <R>a oprit Terenul <VP>70")
- ui.removeTextArea(926,name)
- ui.addTextArea(925,"<p align='center'><a href='event:teren70'><b>70:<font color='#F96868'>OFF</font></b></a></p>",name,712,45,50,16,0x000001,0x000001,0.6,true)
- terenuri[name] = false
- elseif callback=="terenoff40" then
- print("<VP>["..name.."] <R>a oprit Terenul <VP>40")
- ui.removeTextArea(916,name)
- ui.addTextArea(915,"<p align='center'><a href='event:teren40'><b>40:<font color='#F96868'>OFF</font></b></a></p>",name,653,45,50,16,0x000001,0x000001,0.6,true)
- teren[name] = false
- elseif callback=="teren40" then
- print("<VP>["..name.."] <R>a pornit Terenul <VP>40")
- ui.removeTextArea(915,name)
- ui.addTextArea(916,"<p align='center'><a href='event:terenoff40'><b>40:<font color='#86ED89'>ON</font></b></a></p>",name,653, 45, 50, 16, 0x000001, 0x000001, 0.6,true)
- teren[name] = true
- elseif callback=="teren20" then
- print("<VP>["..name.."] <R>a pornit Terenul <VP>20")
- ui.removeTextArea(905,name)
- ui.addTextArea(906,"<p align='center'><a href='event:terenoff'><b>20:<font color='#86ED89'>ON</font></b></a></p>",name,596, 45, 50, 16, 0x000001, 0x000001, 0.6,true)
- grounds[name] = true
- elseif callback=="terenoff" then
- print("<VP>["..name.."] <R>a oprit Terenul <VP>20")
- ui.removeTextArea(906,name)
- ui.addTextArea(905,"<p align='center'><a href='event:teren20'><b>20:<font color='#F96868'>OFF</font></b></a></p>",name,596,45,50,16,0x000001,0x000001,0.6,true)
- grounds[name] = false
- elseif callback=="ffa" then
- print("<VP>["..name.."] <R>a pornit <VP>FFA")
- ui.removeTextArea(805,name)
- ui.addTextArea(806,"<p align='center'><a href='event:ffaoff'><b>Ffa:<font color='#86ED89'>ON</font></b></a></p>",name,530, 45, 57, 16, 0x000001, 0x000001, 0.6,true)
- players[name] = true
- elseif callback=="ffaoff" then
- print("<VP>["..name.."] <R>a oprit <VP>FFA")
- ui.removeTextArea(806,name)
- ui.addTextArea(805,"<p align='center'><a href='event:ffa'><b>Ffa:<font color='#F96868'>OFF</font></b></a></p>",name,530,45,57,16,0x000001,0x000001,0.6,true)
- players[name] = false
- elseif callback=="closevip" then
- ui.removeTextArea(501,name)
- ui.removeTextArea(805,name)
- ui.removeTextArea(806,name)
- ui.removeTextArea(905,name)
- ui.removeTextArea(906,name)
- ui.removeTextArea(915,name)
- ui.removeTextArea(916,name)
- ui.removeTextArea(925,name)
- ui.removeTextArea(926,name)
- elseif callback=="allcheesev" then
- t=0
- ui.addTextArea(1,"<font color='#00C8DA'>[VIP <b>"..name.."</b>] a dat la toata lumea brânză</font>",nil,6,380,300,20,0x000001,0x000001,1,true)
- print("<CH>["..name.."] <N>a dat la toata lumea branza <VP>:)")
- for name in pairs(tfm.get.room.playerList) do tfm.exec.giveCheese(name) end
- elseif callback=="msgvip" then
- ui.addPopup(1,2,"<p align='center'></b></font><font size='15'>scrie un mesaj :",name,200,300,400)
- elseif callback=="dels" then
- print("<CH>["..name.."] <N>a șters toate obiectele șhaman <R>(Aproximativ)")
- for key,val in pairs(tfm.get.room.objectList) do
- table.insert(ob, key)
- end
- for key,val in pairs(ob) do
- tfm.exec.removeObject(val)
- end
- ob = {}
- elseif callback=="ice" then
- ui.addPopup(0,2,"<p align='center'><b>Scrie numele jucătorului pe care dorești să-l ingheți , <J>Prima litera trebuie să fie ,cu litera mare ex: Somno</p></b>",name,300,200,200)
- elseif callback=="report" then
- if Reportban(name) then
- ui.addPopup(100,0,"<p align='center'><font color='#FD6A6A' size='15'>Nu mai poți folosi butonul Report</font></p><br><br><font color='#FD6A6A' size='15'>• De ce nu poți folosi butonul report ?</font><br>1 : Pentru că ai reportat ceva ce nu este adevarat sau ai facut spam",name,200,129,400);
- elseif name~="reportban" then
- ui.addPopup(-3,1,"<p align='center'><b>Reportează</b></p> <br>Doar Administratorii : <b>Frentzytime , Erikq și Somnorosull</b> pot vedea ce s-a raportat.<br>Ca să raportezi corect trebuie să scri numele jucătorului și motivul ,Un exemplu mai jos : <br>Erikq motiv : Spamer<br>La spameri puteți scrie : <br><b>Spam</b> : Dacă cineva face spam cu obiectele (trebuie să specificați ce fel de spam)<br><b>Insulte</b><br><b>Sau alte plângeri</b><br>Nerespectarea cerinței de mai sus nu se va lua în considerare , daca un membru face spam sau ,,Troll'' cu butonul REPORT se penalizează : Nu mai ai dreptu să folosești Butonul Report<br>/!| Ești sigur că vrei să reportezi ceva ?",name,100,100,500)
- end
- elseif callback=="reportclose" then
- ui.removeTextArea(15,name)
- ui.removeTextArea(16,name)
- ui.removeTextArea(17,name)
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- function eventPopupAnswer(idpopup, playerName, answer)
- if idpopup==-3 then
- if answer=="yes" then
- ui.addPopup(-1,2,"<p align='center'><b>Raportează un jucător și motivul</p></b>",playerName,300,200,200)
- end
- if answer=="no" then
- print("["..playerName.."] A inchis butonul report")
- end
- end
- if idpopup==-1 then
- table.insert(msg, answer)
- ui.addTextArea(15,"<j> <b>"..playerName.."</b><N> l-a reportat pe : "..answer.."<BL> <B>| <a href='event:reportclose'><R>Close</a>",a,6,380,x,20,0x000001,0x000001,1,true)
- ui.addTextArea(16,"<j><b>"..playerName.."</b><N> l-a reportat pe : "..answer.."<BL> <B>| <a href='event:reportclose'><R>Close</a>",b,6,380,x,20,0x000001,0x000001,1,true)
- ui.addTextArea(17,"<j><b>"..playerName.."</b><N> l-a reportat pe : "..answer.."<BL> <B>| <a href='event:reportclose'><R>Close</a>",c,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==0 then
- t=0
- ui.addTextArea(1,"<font color='#00C8DA'>[VIP <b>"..playerName.."</b>] L-a inghețat pe : </font><font color='#F3F38D'> "..answer.."</font>",nil,6,380,x,20,0x000001,0x000001,1,true)
- if tfm.get.room.playerList[answer] then
- local y = tfm.get.room.playerList[answer].y
- local x = tfm.get.room.playerList[answer].x
- tfm.exec.addShamanObject(54, x, y, 0, 0, 0, false)
- tfm.exec.killPlayer(""..answer.."")
- end
- end
- if idpopup==1 then
- t=0
- ui.addTextArea(2,"<B><font color='#00C8DA'>[Vip "..playerName.."] "..answer.."</B></font><BL> <B>| <a href='event:roomsay'><V>Comment</a>",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==2 then
- table.insert(ban, answer)
- ban = {}
- t=0
- ui.addTextArea(1,"<R><B>[Admin "..playerName.."] :</B> <N>L-a scos din lista cu jucătorii banați : <VP><B>"..answer.."</B>",nil,6,380,x,20,0x000001,0x000001,1,true)
- ui.removeTextArea(800,answer)
- end
- if idpopup==3 then
- t=0
- table.insert(admin, answer)
- ui.addTextArea(1,"<R><B>[Admin "..playerName.."] : </B><N>Este un nou administrator temporar : <T><B>"..answer.."</B>",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==4 then
- t=0
- ui.addTextArea(2,"<R><B>[Admin "..playerName.."]</B><N> "..answer.."<BL> <B>| <a href='event:roomsay'><V>Comment</a>",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==5 then
- t=0
- ui.addTextArea(2,"<V><B>["..playerName.."]</B><N> "..answer.."<BL> <B>| <a href='event:roomsay'><V>Comment</a>",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==6 then
- t=0
- tfm.exec.newGame(""..answer.."")
- ui.addTextArea(1,"<J><B>"..playerName.."</B><N> a adaugat un cod de mapă : <J><B>"..answer.."",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==8 then
- t=0
- tfm.exec.killPlayer(""..answer.."")
- ui.addTextArea(1,"<J><B>"..playerName.."</B><N> a ucis(o) pe <R><B>"..answer.."</B>",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==9 then
- t=0
- tfm.exec.setGameTime(""..answer.."")
- ui.addTextArea(1,"<J><B>"..playerName.."</B><N> a adăugat <J><B>"..answer.."</B> <N>de secunde",nil,6,380,x,20,0x000001,0x000001,1,true)
- end
- if idpopup==10 then
- t=0
- table.insert(ban, answer)
- ui.addTextArea(1,"<J><B>[Admin "..playerName.."]</B><N> Ești banat temporar : <B><R>"..answer.."",nil,6,380,x,20,0x000001,0x000001,1,true)
- ui.addTextArea(800,"",answer,0,0,800,400,0x000001,0x000001,0.2,true)
- tfm.exec.killPlayer(""..answer.."")
- end
- end
- for i,command in ipairs({"b","a"}) do system.
- disableChatCommandDisplay(command,true)
- end
- function eventChatCommand(name,command,msg)
- if command:sub(1,1)=="b" then
- ui.addTextArea(2,"<J><B>[Bot]</B><N> "..command:sub(3).."",nil,6,380,x,20,0x000001,0x000001,1,true)
- t=0
- end
- if command:sub(1,1)=="a" then
- ui.addTextArea(2,"<J><B>[Anonim]</B><N> "..command:sub(3).."",nil,6,380,x,20,0x000001,0x000001,1,true)
- t=0
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement