Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version = "6.3"
- Fly = {}
- script = { "Erikq#0000" , "Dayye#0000" , "Frentzytime#0000" , "Croeus#0000" }
- admin = { "Erikq#0000" , "Dayye#0000" , "Frentzytime#0000" , "Croeus#0000" , "Naibed#0000" }
- vip = { "Erikq#0000" , "Dayye#0000" , "Frentzytime#0000" , "Croeus#0000" , "Xutzaaa" , "Gaby#6369" , "Ayywa" , "Dayye" , "Andrulian" , "Backhus#0000" , "Soltino" , "Tucancitto" , "Valyxbc" , "Zuzuelena" , "Backhus" , "Somnorosull" , "Slowlyxd" , "Claudaripper" , "Bobytzza" , "Hottboyyy" , "Valyxbc" , "Maximtd" , "Tomjonson" , "Alinutzull" , "Tucancitto" , "Sfieraru" , "Mustaciila" , "Soarecelenfs" , "Marynel" , "Yionutz" , "Naibed#0000" }
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- killcheese = {}
- cheese = {}
- respawn = {}
- shaman = {}
- kill = {}
- vampire = {}
- meep = {}
- vipCheese = {}
- playerVictory = {}
- vipEvent = {}
- vipIce = {}
- vipGround = {}
- vipParticle = {}
- object = {}
- speedDr = {}
- speedSt = {}
- timeM = {}
- trambel = {}
- home = {}
- disable = {}
- ids=0
- ms=0
- pr=120
- voteyes=0
- voteno=0
- ban={}
- ob = {}
- msg = {}
- ffa = {}
- players = {}
- toDes = {}
- grounds = {}
- teren = {}
- terenuri = {}
- gheata = {}
- gheatam = {}
- gheatama = {}
- tramb = {}
- trambu = {}
- trambul = {}
- cioco = {}
- ciocol = {}
- ciocola = {}
- gr = {}
- players = {}
- rem = {}
- map = { 6226267,6225992,6225354,6224370,6222930,5883152,5880573,5876430,5872990,5872880,5812592,5812589,5812585,6249214,6253856,5812583,5812579,5812576,5812573,5800960,5698709,5779536,5698703,5698688,5698682,5698622,5698610,5698538,5698521,5698503,5698493,5698478,5698475 }
- m = { 6179231,6137590,7201266,4527980,3785003,7158978,5167031,1539301,2200301,3410458,3030733,3155585,2103312,2487636,3226146,2561659,3390598,1673888,1905424,2200315,2257925,2057200,944494,944492,2859346,2017824,3344764,2090022,3331444,1659836,1653935,2187881,2630793,666789,2015099,2131172,1641644,2823796,649313,3410181,3904002,3353064,3681428,3678549 }
- testban = {}
- test = {}
- particle = {}
- particle_1 = {}
- particle_2 = {}
- particle_3 = {}
- Log = '\n'
- Logsystem = '\n'
- Logmsg = '\n'
- a = 'Erikq#0000'
- b = 'Frentzytime#0000'
- c = 'croeus#0000'
- d = 'Dayye#0000'
- x = ''
- nume=[[Acuzat
- ]]
- motive=[[Motiv
- ]]
- cine=[[De cine ?
- ]]
- tfm.exec.disableAfkDeath(true)
- vp = "<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 în lista VIP?</font><br>Trebuie să ai rang VIP ca să ai VIP la comenzi. Ca să ai rang VIP trebuie să aştepţi un an dacă eşti nou în trib."
- adm = "<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 poţi face parte în lista Admin?</font><br>Trebuie să ai rang Creator cel puţin ca să ai Admin la comenzi."
- ba=0
- bb=0
- bc=0
- bd=0
- be=0
- bf=0
- bg=0
- bh=0
- bi=0
- bj=0
- bk=0
- bl=0
- bm=0
- bn=0
- bo=0
- bp=0
- bq=0
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp: <r>OFF</a></p>",name,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp: <r>OFF</a></p>",name,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(410,"<p align='center'><a href='event:meniu'><b>Menu</a></p>",name,155,20,45,16,0x4F2B18,0x26140B,0.6,true)
- nokill = {}
- win = {}
- nowin = {}
- die = {}
- nodie = {}
- minigame = {}
- minigame = false
- killcheese = false
- nodie = true
- die = false
- next = {}
- next = false
- nunte = true
- function game()
- for name in pairs(tfm.get.room.playerList) do tfm.exec.setPlayerScore(name, 0, false) end
- print("pornit")
- if minigame then
- tfm.exec.disableAfkDeath(false)
- tfm.exec.disableAutoTimeLeft(false)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(false)
- killcheese = true
- win = true
- die = true
- nokill = false
- nowin = false
- nodie = false
- tfm.exec.newGame(map[math.random(#map)])
- end
- end
- function nunta(timp)
- systemOFF(s)
- movem = true
- die = true
- nodie = false
- tfm.exec.newGame(7253860)
- tfm.exec.setUIMapName("<n>Nunta pentru <ch>"..sot.." <n>si <rose>"..sotie.."")
- tfm.exec.movePlayer(sot,165, 265,offset,0,0,offset)
- tfm.exec.killPlayer(sotie)
- end
- function systemOFF(s)
- Fly = false
- notest = false
- object = false
- maper = false
- np = false
- nunte = false
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- cheese = false
- shaman = false
- vampire = false
- meep = false
- vipCheese = false
- playerVictory = false
- vipEvent = false
- vipIce = false
- vipGround = false
- vipParticle = false
- speedDr = false
- speedSt = false
- timeM = false
- trambel = false
- home = false
- grounds = {}
- teren = {}
- terenuri = {}
- gheata = {}
- gheatam = {}
- gheatama = {}
- tramb = {}
- trambu = {}
- trambul = {}
- cioco = {}
- ciocol = {}
- ciocola = {}
- particle = {}
- particle_1 = {}
- particle_2 = {}
- particle_3 = {}
- ui.removeTextArea(403,nil)
- ui.removeTextArea(409,nil)
- ui.removeTextArea(410,nil)
- end
- function systemON(s)
- object = true
- notest = true
- timp_test = false
- np = true
- maper = true
- nunte = true
- Fly = true
- respawn = true
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- cheese = true
- shaman = true
- vampire = true
- meep = true
- vipCheese = true
- playerVictory = true
- vipEvent = true
- vipIce = true
- vipGround = true
- vipParticle = true
- speedDr = true
- speedSt = true
- timeM = true
- trambel = true
- home = true
- grounds = {}
- teren = {}
- terenuri = {}
- gheata = {}
- gheatam = {}
- gheatama = {}
- tramb = {}
- trambu = {}
- trambul = {}
- cioco = {}
- ciocol = {}
- ciocola = {}
- particle = {}
- particle_1 = {}
- particle_2 = {}
- particle_3 = {}
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp: <r>OFF</a></p>",nil,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp: <r>OFF</a></p>",nil,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(410,"<p align='center'><a href='event:meniu'><b>Menu</a></p>",nil,155,20,45,16,0x4F2B18,0x26140B,0.6,true)
- ui.removeTextArea(1221,nil)
- end
- function eventPlayerGetCheese(name)
- if killcheese then
- tfm.exec.movePlayer(name,400, 600,offset,0,0,offset)
- end
- if nokill then
- tfm.exec.respawnPlayer(name)
- end
- end
- function eventPlayerWon(name,timeElapsed)
- if win then
- tfm.exec.setPlayerScore(name,5,true)
- end
- if nowin then
- tfm.exec.respawnPlayer(name)
- end
- end
- function eventPlayerDied(name)
- if die then
- tfm.exec.setPlayerScore(name,-5,true)
- end
- if nodie then
- tfm.exec.respawnPlayer(name)
- end
- end
- safk = {}
- function timer(name)
- for index,player in pairs(isafk) do
- ui.addTextArea(2,"<VP><B>[Concurs]</b> <N>Concursul incepe in <v><b>"..timp_normalpuncte.." s",player,6,380,x,20,0x4F2B18,0x26140B,1,true)
- end
- end
- brb = {}
- isAfk = {}
- afkTime = {}
- moveTime = {}
- afkRaison = {}
- id = {}
- idnumber = 50000
- timp = {}
- function afk(option1,option2,option3,option4)
- if option1 == 'set' then
- isAfk[option2] = false
- timp[option2] = false
- idnumber = idnumber + 1
- id[option2] = idnumber
- afkRaison[option2] = ""
- afkTime[option2] = 0
- moveTime[option2] = 0
- tfm.exec.bindKeyboard(option2, 13, true, true)
- for i = 0, 200 do
- tfm.exec.bindKeyboard(option2, i, true, true)
- end
- elseif option1 == 'start' then
- isAfk = {}
- afkTime = {}
- afkRaison = {}
- moveTime = {}
- brb = {}
- id = {}
- idnumber = 50000
- for name,player in pairs(tfm.get.room.playerList) do
- afk('set',name)
- end
- elseif option1 == 'noafk' then
- timp[option2] = false
- ui.removeTextArea(id[option2], all)
- isAfk[option2] = false
- afkTime[option2] = 0
- elseif option1 == 'afkleave' then
- timp[option2] = false
- ui.removeTextArea(id[option2], all)
- isAfk[option2] = false
- afkTime[option2] = 250
- elseif option1 == 'afktime' then
- for name,player in pairs(tfm.get.room.playerList) do
- afkTime[name] = afkTime[name] + 0.5
- if isAfk[name] then
- afkRaison[name] = 'Auto AFK'
- else
- if afkTime[name] == 240 then
- timp[name] = true
- table.insert(brb,name)
- afk('movetime',name) end
- end
- end
- elseif option1 == 'callback' then
- if option3:sub(0,5) == "|AFK|" then
- ui.addTextArea(10000, "<p align='center'><j><a href='event:closepopup'>Pour fermer , clique ici !</a><br>"..option3.."</p>", option2, 10, 30, 770,50)
- elseif option3 == "closepopup" then
- ui.removeTextArea(10000, option2)
- end
- elseif option1 == 'command' then
- if isAfk[option2] then
- afk('noafk',option2)
- else
- isAfk[option2] = true
- afkRaison[option2] = option3
- afk('afk',option2)
- end
- elseif option1 == 'movetime' then
- for name,player in pairs(brb) do
- moveTime[player] = moveTime[player] + 0.5
- if timp[player] then
- ui.addTextArea(id[player],"AFK",all,tfm.get.room.playerList[player].x-13,tfm.get.room.playerList[player].y-40,28,18)
- end
- end
- end
- end
- visibile={}
- function ro_date(syst_date)
- local month, day, year, hour, minute, seconds = syst_date:match("(%d+)/(%d+)/(%d+)%s+(%d+):(%d+):(%d+)")
- hour = hour+1
- --if hour == 24 then
- --hour = 00
- --end
- return month.."/"..day.."/"..year.." "..hour..":"..minute..":"..seconds..""
- end
- timer=true is_visible = true current_date = ro_date(os.date("%m/%d/%Y %H:%M:%S")) end_date = '12/30/2019 23:59:59'
- function show_content(who)
- if current_date < end_date then
- ui.addTextArea(1004,"<J><B><p align='center'>Anunt important!</p></B><N><br><p align='left'>A expirat codul, te rog sa il contactezi pe ERIKQ<br></p><br><br><p align='center'><font color='#aaaaaa' size='10'><B>Current time </B></font><br> <font color='#cccccc' size='10'>"..current_date.."</font></p><br><br><br><br><br><p align='right'><font color='#aaaaaa' size='10'><b>Anunt activ pana la date de </b></font></p><p align='right'><font color='#cccccc' size='10'>"..end_date.."</font></p>",who,0,0,1,1,0x4F2B18,0x26140B,0.9,true)
- else
- timer=false
- end
- end
- function eventNewGame()
- if next then
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- ui.removeTextArea(403,nil)
- ui.removeTextArea(409,nil)
- ui.removeTextArea(410,nil)
- ui.removeTextArea(2,nil)
- tfm.exec.newGame(map[math.random(#map)])
- end
- for index,player in pairs(ban) do
- tfm.exec.addPhysicObject(1,-386,-202,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=40,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(2,-386,-234,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=40,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(3,-402,-217,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=40,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(4,-365,-217,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=40,
- groundCollision=true
- })
- tfm.exec.movePlayer(player, -370, -217)
- tfm.exec.setPlayerScore(player, 0, false);
- end
- ba=0
- bb=0
- bc=0
- bd=0
- be=0
- bf=0
- bg=0
- bh=0
- bi=0
- bj=0
- bk=0
- bl=0
- bm=0
- bn=0
- bo=0
- bp=0
- bq=0
- tfm.exec.setNameColor("Erikq",0x009D9D)
- tfm.exec.setNameColor("Leeyaluki",0xFF0030)
- tfm.exec.setNameColor("Dayye",0x0082FF)
- tfm.exec.setNameColor("Kitzaa",0xDD004D)
- tfm.exec.setNameColor("Tucancitto",0x3D65A6)
- tfm.exec.setNameColor("Croeus",0x00E0E4)
- tfm.exec.setNameColor("Ayywa",0x00E0E4)
- tfm.exec.setNameColor("Andrulian",0x00E0E4)
- tfm.exec.setNameColor("Backhus",0x00E0E4)
- tfm.exec.setNameColor("Soltino",0x00E0E4)
- tfm.exec.setNameColor("Valyxbc",0x00E0E4)
- tfm.exec.setNameColor("Zuzuelena",0x00E0E4)
- tfm.exec.setNameColor("Gabyutzu",0x00E0E4)
- tfm.exec.setNameColor("Backhus",0x00E0E4)
- tfm.exec.setNameColor("Somnorosull",0x00E0E4)
- tfm.exec.setNameColor("Slowlyxd",0x00E0E4)
- tfm.exec.setNameColor("Claudaripper",0x00E0E4)
- tfm.exec.setNameColor("Bobytzza",0x00E0E4)
- tfm.exec.setNameColor("Hottboyyy",0x00E0E4)
- tfm.exec.setNameColor("Maximtd",0x00E0E4)
- tfm.exec.setNameColor("Kyasx",0x541110)
- tfm.exec.setNameColor("Marynel",0x00E0E4)
- ui.removeTextArea(2,nil)
- ui.removeTextArea(3,nil)
- end
- function Script(name)
- for i,script in ipairs(script) do
- if name==script then
- return true
- end
- end
- return false
- end
- function Admin(name)
- for i,admin in ipairs(admin) do
- if name==admin 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 Ban(name)
- for i,ban in ipairs(ban) do
- if name==ban then
- return true
- end
- end
- return false
- end
- function Brb(name)
- for i,brb in ipairs(brb) do
- if name==brb then
- return true
- end
- end
- return false
- end
- function eventMouse(name, x, y)
- if terenuri[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=70,width=70,friction=0.3,restitution=0.2})
- ids=(ids+1)%25
- end
- if teren[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=40,width=40,friction=0.3,restitution=0.2})
- ids=(ids+1)%25
- end
- if grounds[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=20,width=20,friction=0.3,restitution=0.2})
- ids=(ids+1)%25
- end
- if gheata[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=20,width=20,friction=0.0,restitution=0.2,type=1})
- ids=(ids+1)%25
- end
- if gheatam[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=40,width=40,friction=0.0,restitution=0.2,type=1})
- ids=(ids+1)%25
- end
- if gheatama[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=70,width=70,friction=0.0,restitution=0.2,type=1})
- ids=(ids+1)%25
- end
- if tramb[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=20,width=20,friction=0.0,restitution=1.2,type=2})
- ids=(ids+1)%25
- end
- if trambu[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=40,width=40,friction=0.0,restitution=1.2,type=2})
- ids=(ids+1)%25
- end
- if trambul[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=70,width=70,friction=0.0,restitution=1.2,type=2})
- ids=(ids+1)%25
- end
- if cioco[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=20,width=20,friction=20.0,restitution=0.2,type=4})
- ids=(ids+1)%25
- end
- if ciocol[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=40,width=40,friction=20.0,restitution=0.2,type=4})
- ids=(ids+1)%25
- end
- if ciocola[name] then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.addPhysicObject(ids,x,y,{height=70,width=70,friction=20.0,restitution=0.2,type=4})
- ids=(ids+1)%25
- end
- if canTeleport[name] then
- tfm.exec.movePlayer(name, x, y)
- end
- if canExplosion[name] then
- tfm.exec.displayParticle(2,x,y,1,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,-1,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,2,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,-2,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,1,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,-1,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,2,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,-2,0,0,nil)
- tfm.exec.explosion(x,y,10,100,true)
- end
- if medExplosion[name] then
- tfm.exec.displayParticle(2,x,y,1,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,-1,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,2,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,-2,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,1,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,-1,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,2,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,-2,0,0,nil)
- tfm.exec.explosion(x,y,20,140,true)
- end
- if maxExplosion[name] then
- tfm.exec.displayParticle(2,x,y,1,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,-1,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,2,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,-2,0,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,1,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,-1,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,2,0,0,nil)
- tfm.exec.displayParticle(2,x,y,0,-2,0,0,nil)
- tfm.exec.explosion(x,y,60,140,true)
- end
- if particle[name] then
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(5,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(5,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(5,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(5,x,y,math.random(-10,10),math.random(-10,10),name)
- end
- if particle_1[name] then
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(16,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(17,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(18,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(19,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(16,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(17,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(18,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(19,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(15,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(18,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(16,x,y,math.random(-10,10),math.random(-10,10),name)
- end
- if particle_2[name] then
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.displayParticle(0,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(1,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(2,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(11,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(13,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(0,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(1,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(2,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(11,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(13,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(0,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(1,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(2,x,y,math.random(-10,10),math.random(-10,10),name)
- end
- if particle_3[name] then
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 0.6, true)
- tfm.exec.displayParticle(21,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(22,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(23,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(24,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(21,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(22,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(23,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(24,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(21,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(22,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(23,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(24,x,y,math.random(-10,10),math.random(-10,10),name)
- tfm.exec.displayParticle(21,x,y,math.random(-10,10),math.random(-10,10),name)
- end
- end
- function eventPlayerRespawn(name)
- tfm.exec.setPlayerScore("Erikq",999,false)
- tfm.exec.setPlayerScore("Kyasx",999,false)
- tfm.exec.setPlayerScore("Dayye",999,false)
- for index,player in pairs(ban) do
- tfm.exec.setPlayerScore(player, 0, false);
- tfm.exec.addPhysicObject(1,-386,-202,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=40,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(2,-386,-234,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=40,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(3,-402,-217,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=40,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(4,-365,-217,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=40,
- groundCollision=true
- })
- tfm.exec.movePlayer(player, -370, -217)
- ui.addTextArea(187, "", nil, -421, -252, 82, 82, 0x324650, 0x000000, 1, true)
- ui.addTextArea(800,"",player,0,0,800,400,0x000001,0x000001,0.2,true)
- end
- ui.removeTextArea(9,name)
- tfm.exec.setNameColor("Erikq",0x009D9D)
- tfm.exec.setNameColor("Leeyaluki",0xFF0030)
- tfm.exec.setNameColor("Dayye",0x0082FF)
- tfm.exec.setNameColor("Kitzaa",0xDD004D)
- tfm.exec.setNameColor("Tucancitto",0x3D65A6)
- tfm.exec.setNameColor("Croeus",0x00E0E4)
- tfm.exec.setNameColor("Ayywa",0x00E0E4)
- tfm.exec.setNameColor("Andrulian",0x00E0E4)
- tfm.exec.setNameColor("Backhus",0x00E0E4)
- tfm.exec.setNameColor("Soltino",0x00E0E4)
- tfm.exec.setNameColor("Valyxbc",0x00E0E4)
- tfm.exec.setNameColor("Zuzuelena",0x00E0E4)
- tfm.exec.setNameColor("Gabyutzu",0x00E0E4)
- tfm.exec.setNameColor("Backhus",0x00E0E4)
- tfm.exec.setNameColor("Somnorosull",0x00E0E4)
- tfm.exec.setNameColor("Slowlyxd",0x00E0E4)
- tfm.exec.setNameColor("Claudaripper",0x00E0E4)
- tfm.exec.setNameColor("Bobytzza",0x00E0E4)
- tfm.exec.setNameColor("Hottboyyy",0x00E0E4)
- tfm.exec.setNameColor("Maximtd",0x00E0E4)
- tfm.exec.setNameColor("Kyasx",0x541110)
- tfm.exec.setNameColor("Marynel",0x00E0E4)
- ui.removeTextArea(2,nil)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- system.bindKeyboard (name, 32, true, true)
- system.bindKeyboard (name, 27, true, true)
- system.bindKeyboard (name, 77, true, true)
- system.bindKeyboard (name, 71, true, true)
- system.bindKeyboard (name, 72, true, true)
- system.bindKeyboard (name, 75, true, true)
- system.bindKeyboard (name, 74, true, true)
- system.bindKeyboard (name, 76, true, true)
- system.bindKeyboard (name, 85, true, true)
- system.bindKeyboard (name, 112, true, true)
- system.bindKeyboard (name, 113, true, true)
- system.bindKeyboard (name, 114, true, true)
- system.bindKeyboard (name, 115, true, true)
- system.bindKeyboard (name, 116, true, true)
- system.bindKeyboard (name, 122, true, true)
- system.bindKeyboard (name, 79, true, true)
- system.bindKeyboard (name, 80, true, true)
- system.bindKeyboard (name, 189, true, true)
- system.bindKeyboard (name, 106, true, true)
- system.bindKeyboard (name, 109, true, true)
- system.bindKeyboard (name, 123, true, true)
- system.bindKeyboard (name, 80, true, true)
- system.bindKeyboard (name, 40, true, true)
- system.bindKeyboard (name, 38, true, true)
- system.bindKeyboard (name, 83, true, true)
- system.bindKeyboard (name, 87, true, true)
- system.bindKeyboard (name, 69, true, true)
- system.bindKeyboard (name, 0, true, true)
- system.bindKeyboard (name, 2, true, true)
- system.bindKeyboard (name, 106, true, true)
- system.bindKeyboard (name, 187, true, true)
- system.bindKeyboard (name, 117, true, true)
- system.bindKeyboard (name, 36, true, true)
- system.bindKeyboard (name, 221, true, true)
- system.bindKeyboard (name, 219, true, true)
- system.bindKeyboard (name, 104, true, true)
- system.bindKeyboard (name, 100, true, true)
- system.bindKeyboard (name, 101, true, true)
- system.bindKeyboard (name, 102, true, true)
- system.bindKeyboard (name, 192, true, true)
- system.bindKeyboard (name, 118, true, true)
- system.bindKeyboard (name, 191, true, true)
- system.bindKeyboard (name, 119, true, true)
- system.bindMouse(name, true)
- end
- function eventKeyboard(name,key,down,x,y)
- afk('noafk',name)
- if key == 32 then
- if Fly then
- tfm.exec.movePlayer(name,0,0,true,0,-70,false)
- end
- end
- if key == 77 then
- if cheese then
- Log = '<v>['..name..'] <n>a primit branza\n'..Log
- print("<BV>"..name.." <R>a primit <J>brânza")
- tfm.exec.giveCheese(name)
- end
- end
- if key == 71 then
- if playerVictory then
- Log = '<v>['..name..'] <n>a intrat automat\n'..Log
- print("<BV>"..name.." <R>a intrat <J>automat")
- tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name)
- end
- end
- if key == 72 then
- if respawn then
- Log = '<v>['..name..'] <n>s-a respawnat\n'..Log
- print("<BV>"..name.." <R>a <J>înviat")
- tfm.exec.respawnPlayer(name)
- end
- end
- if key == 74 then
- if shaman then
- Log = '<v>['..name..'] <n>este shaman\n'..Log
- print("<BV>"..name.." <R>este <CH>şaman")
- tfm.exec.setShaman(name)
- tfm.exec.disableAllShamanSkills(true)
- end
- end
- if key == 75 then
- if kill then
- print("<BV>"..name.." <R>s-a <J>sinucis")
- tfm.exec.killPlayer(name)
- Log = ' <v>['..name..'] <n>- a murit\n'..Log
- end
- end
- if key == 76 then
- if vampire then
- Log = '<r>['..name..'] <n>este <r>vampir\n'..Log
- print("<BV>"..name.." <R>este <J>vampir")
- tfm.exec.setVampirePlayer(name)
- end
- end
- if key == 85 then
- if meep then
- Log = '<v>['..name..'] <n>a activat <v>Meep\n'..Log
- print("<BV>"..name.." <R>a activat <V>Meep!")
- tfm.exec.giveMeep(name)
- end
- end
- if key == 192 then
- ui.showColorPicker(4,name,971818,name)
- end
- if key == 40 then
- ui.removeTextArea(3,nil)
- end
- if key == 38 then
- ui.removeTextArea(3,nil)
- end
- if key == 83 then
- ui.removeTextArea(3,nil)
- end
- if key == 87 then
- ui.removeTextArea(3,nil)
- end
- if key == 112 then
- if vipCheese then
- if Vip(name) then
- Log = '<ch>['..name..'] <n>a dat tuturor <j>branza\n'..Log
- print("<BV>"..name.." <R>a dat tuturor <J>brânza")
- for name in pairs(tfm.get.room.playerList) do tfm.exec.giveCheese(name) end
- elseif name~="vip" then
- ui.addPopup(100,0,""..vp.."",name,200,129,400);
- end
- end
- end
- if key == 113 then
- if Vip(name) then
- Log = '<ch>['..name..'] <n>a sters toate <r>obiectele\n'..Log
- print("<BV>"..name.." <R>a şters toate obiectele.")
- 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 name~="vip" then
- ui.addPopup(100,0,""..vp.."",name,200,129,400)
- end
- end
- if key == 114 then
- if vipEvent then
- if Vip(name) then
- Log = '<ch>['..name..'] <n>a intrat la <ch>Eveniment(VIP)\n'..Log
- ui.addTextArea(502,"<j>Event: <n> <b><p align='center'><a href='event:craciun'><ch>Crăciun</ch></a> <bl>| <n><a href='event:halloween'><G>Halloween</G></a> <bl>| <n><a href='event:halloween1'><G>Halloween1</G></a> <bl>| <n><a href='event:sf.val'><rose>Sf.Valentin</rose></a></a>",name,210,20,410,16,0x4F2B18,0x26140B,0.6,true)
- print("<bv>"..name.." <r>a intrat la <vp>eveniment <ch>(VIP)")
- elseif name~="vip" then
- Log = '<v>['..name..'] <n>a vrut sa intre la: <ch>Eveniment(VIP)<n>, insa nu are permisiunea de <ch>VIP\n'..Log
- ui.addPopup(100,0,""..vp.."",name,200,129,400)
- end
- end
- end
- if key == 115 then
- if vipIce then
- if Vip(name) then
- Log = '<ch>['..name..'] <n>il incheata pe:\n'..Log
- print("<BV>"..name.." <R>îl îngheaţă pe:")
- ui.addPopup(1,2,"<p align='center'><b>Scrie numele jucătorului pe care doreşti să-l îngheţi. <J>Prima literă trebuie să fie cu literă mare. Exemplu: Erikq</p></b>",name,300,200,200)
- elseif name~="vip" then
- Log = '<v>['..name..'] <n>a vrut sa intre la comanda: <ch>F2<n>, insa nu are permisiunea de <ch>VIP\n'..Log
- ui.addPopup(100,0,""..vp.."",name,200,129,400)
- end
- end
- end
- if key == 116 then
- if vipGround then
- if Vip(name) then
- Log = ' <v>['..name..'] <n>a intrat la sectia <ch>teren\n'..Log
- print("<BV>"..name.." <R>a intrat la: <J>Teren")
- ui.addTextArea(905,"<p align='center'><a href='event:teren20'><b><font color='#8B5300'>L<R>1</font></b></a></p>",name,64,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(915,"<p align='center'><a href='event:teren40'><b><font color='#8B5300'>L<R>2</font></b></a></p>",name,102,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(925,"<p align='center'><a href='event:teren70'><b><font color='#8B5300'>L<R>3</font></b></a></p>",name,140,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(10,"<p align='center'><a href='event:gheata20'><b><CH>G<R>1</b></a></p>",name,178,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(11,"<p align='center'><a href='event:gheata40'><b><CH>G<R>2</b></a></p>",name,216,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(12,"<p align='center'><a href='event:gheata70'><b><CH>G<R>3</b></a></p>",name,254,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(13,"<p align='center'><a href='event:tramb20'><b><font color='#8401B4'>T</font><R>1</b></a></p>",name,292,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(14,"<p align='center'><a href='event:tramb40'><b><font color='#8401B4'>T</font><R>2</b></a></p>",name,330,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(15,"<p align='center'><a href='event:tramb70'><b><font color='#8401B4'>T</font><R>3</b></a></p>",name,368,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(16,"<p align='center'><a href='event:coco20'><b><font color='#3E1F00'>C</font><R>1</b></a></p>",name,406,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(17,"<p align='center'><a href='event:coco40'><b><font color='#3E1F00'>C</font><R>2</b></a></p>",name,444,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(18,"<p align='center'><a href='event:coco70'><b><font color='#3E1F00'>C</font><R>3</b></a></p>",name,482,45,30,16,0x4F2B18,0x26140B,0.6,true)
- elseif name~="vip" then
- Log = '<v>['..name..'] <n>a vrut sa intre la: <ch>Teren<n>, insa nu are permisiunea de <ch>VIP\n'..Log
- ui.addPopup(100,0,""..vp.."",name,200,129,400);
- end
- end
- end
- if key == 117 then
- if vipParticle then
- if Vip(name) then
- Log = ' <v>['..name..'] <n>a intrat la sectia <ch>particula\n'..Log
- ui.addTextArea(502,"<j>Artificii: <n> <b><p align='center'><a href='event:particle'><rose>inimi</rose></a> <bl>| <a href='event:particle_1'><CH>++</CH></a> <bl>| <a href='event:particle_2'><BV>artificii</BV></a> <bl>| <a href='event:particle_3'><j>confeti</j></a> <bl>| ",name,210,20,410,16,0x4F2B18,0x26140B,0.6,true)
- elseif name~="vip" then
- Log = '<v>['..name..'] <n>a vrut sa intre la: <ch>particula<n>, insa nu are permisiunea de <ch>VIP\n'..Log
- ui.addPopup(100,0,""..vp.."",name,200,129,400);
- end
- end
- end
- if key == 79 then
- if object then
- Log = ' <v>['..name..'] <n>a intrat la sectia obiecte\n'..Log
- ui.addPopup(11,0,"Momentat nu functioneaza aceasta comanda. Vom rezolva problema cat de curand",name,210,17,220);
- print("<BV>"..name.." <R>vrea să intre la: <J>Obiecte")
- end
- end
- if key == 27 then
- Log = ' <v>['..name..'] <n>- ESC\n'..Log
- print("<BV>"..name.." <J>Esc")
- ui.removeTextArea(11,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)
- ui.removeTextArea(10,name)
- ui.removeTextArea(12,name)
- ui.removeTextArea(13,name)
- ui.removeTextArea(14,name)
- ui.removeTextArea(15,name)
- ui.removeTextArea(16,name)
- ui.removeTextArea(17,name)
- ui.removeTextArea(18,name)
- ui.removeTextArea(502,name)
- ui.removeTextArea(69,name)
- ui.removeTextArea(889,name)
- ui.removeTextArea(801,name)
- ui.removeTextArea(802,name)
- ui.removeTextArea(803,name)
- ui.removeTextArea(804,name)
- ui.removeTextArea(805,name)
- ui.removeTextArea(806,name)
- ui.removeTextArea(807,name)
- ui.removeTextArea(1009,name)
- ui.removeTextArea(1010,name)
- ui.removeTextArea(1019,name)
- ui.removeTextArea(1021,name)
- ui.removeTextArea(1029,name)
- ui.removeTextArea(1000,name)
- ui.removeTextArea(1001,name)
- ui.removeTextArea(1002,name)
- ui.removeTextArea(2000,name)
- ui.removeTextArea(2002,name)
- ui.removeTextArea(810,name)
- ui.removeTextArea(811,name)
- ui.removeTextArea(812,name)
- ui.removeTextArea(813,name)
- ui.removeTextArea(814,name)
- end
- if key == 221 then
- if speedDr then
- tfm.exec.movePlayer(name,0,0,true,50,0,true)
- end
- end
- if key == 219 then
- if speedSt then
- tfm.exec.movePlayer(name,0,0,true,-50,0,true)
- end
- end
- if key == 189 then
- if timeM then
- Log = ' <v>['..name..'] <n>vrea sa modifice timpul\n'..Log
- print("<BV>"..name.." <R>vrea să modifice <J>timpul.")
- ui.addPopup(9,2,"Modifică timpul.",name,400,200,200)
- end
- end
- if key == 106 then
- if Admin(name) then
- Log = ' <r>['..name..'] <n>vrea sa restarteze <v>CMD-ul\n'..Log
- print("<BV>"..name.." <V>vrea să restarteze CMD-ul.")
- t=10001
- elseif name~="admin" then
- Log = ' <v>['..name..'] <n>- vrea sa restarteze <v>CMD-ul <n>insa nu are permisiunea de <r>administrator\n'..Log
- print("<VP>"..name.." <r>a vrut să restarteze <v>CMD-ul<n>, însă nu are permisiunea de administrator")
- ui.addPopup(100,0,"Nu ai permisiunea de a restarta comenzile.",name,200,129,400)
- end
- end
- if key == 109 then
- if Script(name) then
- Log = ' <r>['..name..'] <n>vrea sa inchida <v>CMD-ul\n'..Log
- print("<BV>"..name.." <V>vrea sa închidă CMD-ul.")
- t=10031
- elseif name~="script" then
- Log = ' <v>['..name..'] <n>- vrea sa inchida <v>CMD-ul <n>insa nu are permisiunea de <r>administrator\n'..Log
- print("<VP>"..name.." <r>a vrut să închidă <v>CMD-ul<n>, însă nu are permisiunea de administrator")
- ui.addPopup(100,0,"Nu ai permisiunea de a închide comenzile.",name,200,129,400)
- end
- end
- if key == 123 then
- if Admin(name) then
- ui.addTextArea(502,"<p align='center'><a href='event:ban'><ont color='#F8FF00'><b>Ban</b></a> <BL>| <a href='event:grade'><b><V>AddAdm</b></a> <BL>| <font color='#F8FF00'><a href='event:unbanall'><b>UnbanAll</font></b></a><BL> | <font color='#F8FF00'><a href='event:unban'>Unban<b></a> <BL>| <R><a href='event:block'>BlockAll<b></a> <BL>| <a href='event:chamall'><b><V>SamAll</b></a> <BL>| <a href='event:reports'>Raportari</a> <BL>| <a href='event:killall'><b><V>Kill all</b></a> <BL>| <a href='event:allwin'><V><b>WinAll</b></a> <BL>| <a href='event:S.I.'>S.I.</a>",name,210,20,585,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(1009,"<p align='center'><a href='event:explmed'><b>Med: <font color='#F96868'>OFF</font></b></a></p>",name,5,44,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(1019,"<p align='center'><a href='event:explmax'><b>Max: <font color='#F96868'>OFF</font></b></a></p>",name,82,44,69,16,0x4F2B18,0x26140B,0.6,true)
- elseif name~="admin" then
- Log = ' <v>['..name..'] <n>- a vrut sa deschida <r>Meniul Admin <n>insa nu are permisiunea de <r>administrator\n'..Log
- print("<VP>"..name.." <r>a vrut să deschidă meniul <J>Admin, <n>însă nu are permisiunea de administrator")
- ui.addPopup(100,0,""..adm.."",name,100,200,400)
- end
- end
- if key == 80 then
- Log = ' <v>['..name..'] <n>vrea sa <bl>Raporteze\n'..Log
- print("<r>"..name.." <bl>vrea să raporteze")
- ui.addPopup(1000,2,"Scrie motivul jucătorului raportat",name,350,200,nil,nil,true)
- ui.addPopup(999,2,"<b>Raportează un jucător</b><br><br>Introdu jucătorul (Scrie numele jucătorului):",name,350,200,nil,nil,true)
- end
- if key == 69 then
- z=players[name].z
- if players[name].time<=os.time()-1000 then
- tfm.exec.addShamanObject(34,x+12*z,y-7,0,17*z,-2,false)
- players[name].time=os.time()
- end
- elseif key==0 then
- players[name].z=-1
- elseif key==2 then
- players[name].z=1
- end
- if key == 187 then
- if tramb then
- tfm.exec.movePlayer(name,0,0,true,0,600,true)
- end
- end
- if key == 36 then
- if home then
- Log = ' <v>['..name..'] <n>- <R>a dezactivat comenzile <VP>(Activate de EL/EA)\n'..Log
- print("<VP>"..name.." <R>a dezactivat comenzile <VP>(Activate de EL/EA)")
- ui.addTextArea(1, "<font size='10'><J>TribeHouse <a href='event:version'><v>Version "..version.."</v></a>", nil, 0, 385, x, 20, nil,nil,0,true)
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp : <r>OFF</a></p>",name,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp : <r>OFF</a></p>",name,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.removeTextArea(502,name)
- ui.removeTextArea(1009,name)
- ui.removeTextArea(1019,name)
- ui.removeTextArea(925,name)
- ui.removeTextArea(926,name)
- ui.removeTextArea(916,name)
- ui.removeTextArea(915,name)
- ui.removeTextArea(905,name)
- ui.removeTextArea(906,name)
- ui.removeTextArea(10,name)
- ui.removeTextArea(11,name)
- ui.removeTextArea(12,name)
- ui.removeTextArea(13,name)
- ui.removeTextArea(14,name)
- ui.removeTextArea(15,name)
- ui.removeTextArea(16,name)
- ui.removeTextArea(17,name)
- ui.removeTextArea(18,name)
- canTeleport[name] = false
- canExplosion[name] = false
- medExplosion[name] = false
- maxExplosion[name] = false
- grounds[name] = false
- teren[name] = false
- terenuri[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- particle[name] = false
- particle_1[name] = false
- particle_2[name] = false
- particle_3[name] = false
- end
- end
- if key == 118 then
- if Vip(name) then
- Log = ' <ch>['..name..'] <n>a intrat la emotii\n'..Log
- print("<bv>["..name.."] <r>a intrat la emoţii")
- ui.addTextArea(11,"<p align='center'><BL>| <n><a href='event:danseaza'><b>dansează</b></a> <BL>| <n><a href='event:rade'><b>râzi</b></a> <BL>| <n><a href='event:plange'><b>plânge</b></a> <BL>| <n><a href='event:pupici'><b>sărută</b></a> <BL>| <n><a href='event:nervos'><b>nervos</b></a> <BL>| <n><a href='event:aplauda'><b>aplaudă</b></a> <BL>| <n><a href='event:doarme'><b>dormi</b></a> <BL>| <n><a href='event:facepalm'><b>facepalm</b></a> <BL>| <n><a href='event:confeti'><b>stai</b></a> <BL>| <n><a href='event:nextE'><b>>>></b></a>",name,210,20,580,16,0x4F2B18,0x26140B,0.6,true)
- elseif name~="vip" then
- ui.addPopup(100,0,""..vp.."",name,200,129,400);
- end
- end
- if key == 191 then
- print("<bv>"..name.." <r>doreşte să trimită un mesaj:")
- ui.addPopup(5,0,"<p align='center'><font size='15'>Comanda nu funcţionează. Anulat.</font></p>",name,200,129,400)
- end
- end
- function eventNewPlayer(nm)
- afk('set',nm)
- if notest then
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp : <r>OFF</a></p>",nm,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp : <r>OFF</a></p>",nm,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(410,"<p align='center'><a href='event:meniu'><b>Menu</a></p>",nm,155,20,45,16,0x4F2B18,0x26140B,0.6,true)
- end
- tfm.exec.setPlayerScore("Erikq",999,false)
- tfm.exec.setPlayerScore("Kyasx",999,false)
- tfm.exec.setPlayerScore("Dayye",999,false)
- for index,player in pairs(ban) do
- tfm.exec.addPhysicObject(1,-386,-202,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=40,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(2,-386,-234,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=40,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(3,-402,-217,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=40,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(4,-365,-217,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=40,
- groundCollision=true
- })
- tfm.exec.movePlayer(player, -370, -217)
- ui.addTextArea(187, "", nil, -421, -252, 82, 82, 0x324650, 0x000000, 1, true)
- ui.addTextArea(800,"",player,0,0,800,400,0x000001,0x000001,0.2,true)
- tfm.exec.setPlayerScore(player, 0, false);
- end
- players[nm]={time=0;z=1}
- ui.addTextArea(9, "Apasa tasta <V>H <n>dacă nu te-ai respawnat automat", nm, 406, 380, 282, 22, 0x163542, nil, 1, true)
- ui.addTextArea(1, "<font size='10'><j><i><b>TribeHouse <vp>version "..version.."", nil, 10, 385, x, 20, nil,nil,0,true)
- ui.addTextArea(2,"<VP><B>"..nm.."</b> <N>a intrat în casa tribului<VP> :)",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- Log = ' <vp><b>['..nm..']</b> a intrat in casa tribului <vp>:)\n'..Log
- timp_MesajBot = true
- ui.addTextArea(2,"<j><b>[Tribe]</b><n> Bun venit în casa tribului <v><b>"..nm.." <vp>:)",nm,6,380,x,20,0x4F2B18,0x26140B,1,true)
- print("<VP><B>"..nm.."</B><R> a accesat casa tribului <VP>:)")
- for name,player in pairs(tfm.get.room.playerList) do
- system.bindKeyboard (name, 32, true, true)
- system.bindKeyboard (name, 27, true, true)
- system.bindKeyboard (name, 77, true, true)
- system.bindKeyboard (name, 71, true, true)
- system.bindKeyboard (name, 72, true, true)
- system.bindKeyboard (name, 75, true, true)
- system.bindKeyboard (name, 74, true, true)
- system.bindKeyboard (name, 76, true, true)
- system.bindKeyboard (name, 85, true, true)
- system.bindKeyboard (name, 112, true, true)
- system.bindKeyboard (name, 113, true, true)
- system.bindKeyboard (name, 114, true, true)
- system.bindKeyboard (name, 115, true, true)
- system.bindKeyboard (name, 116, true, true)
- system.bindKeyboard (name, 122, true, true)
- system.bindKeyboard (name, 79, true, true)
- system.bindKeyboard (name, 80, true, true)
- system.bindKeyboard (name, 189, true, true)
- system.bindKeyboard (name, 106, true, true)
- system.bindKeyboard (name, 109, true, true)
- system.bindKeyboard (name, 123, true, true)
- system.bindKeyboard (name, 80, true, true)
- system.bindKeyboard (name, 40, true, true)
- system.bindKeyboard (name, 38, true, true)
- system.bindKeyboard (name, 83, true, true)
- system.bindKeyboard (name, 87, true, true)
- system.bindKeyboard (name, 69, true, true)
- system.bindKeyboard (name, 0, true, true)
- system.bindKeyboard (name, 2, true, true)
- system.bindKeyboard (name, 106, true, true)
- system.bindKeyboard (name, 187, true, true)
- system.bindKeyboard (name, 117, true, true)
- system.bindKeyboard (name, 36, true, true)
- system.bindKeyboard (name, 221, true, true)
- system.bindKeyboard (name, 219, true, true)
- system.bindKeyboard (name, 104, true, true)
- system.bindKeyboard (name, 100, true, true)
- system.bindKeyboard (name, 101, true, true)
- system.bindKeyboard (name, 102, true, true)
- system.bindKeyboard (name, 192, true, true)
- system.bindKeyboard (name, 118, true, true)
- system.bindKeyboard (name, 191, true, true)
- system.bindKeyboard (name, 119, true, true)
- system.bindMouse(name, true)
- end
- end
- function eventPlayerLeft(nm)
- afk('afkleave',nm)
- print("<R><B>"..nm.."</B><R> a părăsit casa tribului <VP>:(")
- timp_MesajBot = true
- Log = ' <r><b>['..nm..']</b> <n>- a parasit casa tribului <r>:(\n'..Log
- ui.addTextArea(2,"<R><b>"..nm.."</b> <N>a părăsit casa tribului<R> :(",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- end
- resda = 0
- function eventTextAreaCallback(id,name,c)
- afk('callback',name,c)
- if c=="meniu" then
- if Vip(name) then
- Log = '<r>A<ch>V<v>['..name..'] <n>a intrat la <vp>Menu\n'..Log
- ui.addTextArea(801, "", name, 212, 95, 377, 229, 0xc47800, 0x000000, 1, true)
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Comenzile tribului</font></p>\n<CH><b>Comenzile funcţionează apăsând pe tasta respectivă</b>\n<N>Apasă <VP>Esc<N> pentru a închide tabelul\n<VP>M - <N>Primeşti brânza <VP>O - <N>Obiecte</font>\n<VP>G - <N>AutoWin <VP>Esc - <N>Ieşire tabel\n<VP>H - <N>Respawn <VP>P - <N>Raportează\n<VP>J - <N>Devii şaman <VP>Home - <n>Dezactivezi\n<VP>K - <N>Mori <VP>= - <n>Trambulină\n<VP>L - <N>Devii vampir <VP>!a - <n>Chat special <j>(Anonim)\n<VP>U - <N>Meep! <VP>!q text - <N>Chat special\n<VP>X - <N>Timp <vp>!np @code - <n>Adaugă o mapă\n<VP>[ - <N>Viteză (stânga) <vp>!map <n>Îţi pune o mapă\n<VP>] - <N>Viteză (dreapta) <vp>!test @code - <n>Testează o mapă \n<VP>- <n>Schimbă timpul <vp> !nunta <n>- Nunta oficiala\n<VP>~ - <n>Nume culoare", name, 219, 100, 364, 219, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(803, "<a href='event:meniu'><b><J>Comenzi</J></b></a> <bl><b>|</b> <a href='event:vip'><CH><b>VIP</b></ch></a> <bl><b>|</b> <b><a href='event:admin'><r>Admin</r></a> <bl><b>|</b> <a href='event:regl'><rose>Jocuri</v></a> <bl><b>|</b> <a href='event:version'><v>Versiunea "..version.."</v></a> <bl><b>|</b> <a href='event:log'><v>Istoric</v></a>", name, 220, 338, x, 20, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(804, "<a href='event:setari'><b>Setări</b></a>", name, 214, 68, 51, 16, 0x0e242d, 0x000000, 1, true)
- elseif name~="vip" then
- Log = '<v>['..name..'] a intrat la <vp>Meniu\n'..Log
- print("<BV>"..name.." <BL>a intrat în <VP>Meniu")
- ui.addTextArea(801, "", name, 212, 95, 377, 229, 0xc47800, 0x000000, 1, true)
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Comenzile tribului</font></p>\n<CH><b>Comenzile funcţionează apăsând pe tasta respectivă</b>\n<N>Apasă <VP>Esc<N> pentru a închide tabelul\n<VP>M - <N>Primeşti brânza <VP>O - <N>Obiecte</font>\n<VP>G - <N>AutoWin <VP>Esc - <N>Ieşire tabel\n<VP>H - <N>Respawn <VP>P - <N>Raportează\n<VP>J - <N>Devii şaman <VP>Home - <n>Dezactivezi\n<VP>K - <N>Mori <VP>= - <n>Trambulină\n<VP>L - <N>Devii vampir <VP>!a - <n>Chat special <j>(Anonim)\n<VP>U - <N>Meep! <VP>!q text - <N>Chat special\n<VP>X - <N>Timp <vp>!np @code - <n>Adaugă o mapă\n<VP>[ - <N>Viteză (stânga) <vp>!map <n>Îţi pune o mapă\n<VP>] - <N>Viteză (dreapta) <vp>!test @code - <n>Testează o mapă \n<VP>- <n>Schimbă timpul <vp> !nunta <n>- Nunta oficiala\n<VP>~ - <n>Nume culoare", name, 219, 100, 364, 219, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(803, "<a href='event:meniu'><b><J>Comenzi</J></b></a> <bl><b>|</b> <a href='event:vip'><CH><b>VIP</b></ch></a> <bl><b>|</b> <b><a href='event:admin'><r>Admin</r></a> <bl><b>|</b> <a href='event:regl'><rose>Jocuri</v></a> <bl><b>|</b> <a href='event:version'><v>Versiunea "..version.."</v></a>", name, 245, 338, x, 20, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(804, "<a href='event:setari'><b>Setări</b></a>", name, 214, 68, 51, 16, 0x0e242d, 0x000000, 1, true)
- end
- elseif c=="setari" then
- print("<BV>"..name.." <BL>a intrat in <VP>Setări")
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Setările comenzilor</font></p><br><br><n><a href='event:remove'>Ascunde butoanele: Tp, Exp şi Menu</a>", name, 219, 100, 364, 219, 0xe242d, 0x0, 1, true)
- elseif c=="resDa" then
- ui.removeTextArea(801,name)
- ui.removeTextArea(802,name)
- ui.removeTextArea(803,name)
- ui.removeTextArea(804,name)
- ui.addTextArea(0,"<J><B>[Scrisoare de acord]</B><N> Asteapta putin pana cand iti da raspunsul",name,6,380,x,20,0x4F2B18,0x26140B,1,true)
- timp_MesajBot = true
- resda=resda+1
- if resda == 2 then
- timp_loading = false
- timp_load = 15
- ui.removeTextArea(0,nil)
- resda=0
- nunta(timp)
- end
- elseif c=="resNu" then
- timp_loading = false
- timp_load = 15
- nunte = true
- ui.removeTextArea(801,name)
- ui.removeTextArea(802,name)
- ui.removeTextArea(803,name)
- ui.removeTextArea(804,name)
- ui.addTextArea(801, "", sot, 212, 95, 377, 229, 0xc47800, 0x000000, 1, true)
- ui.addTextArea(802, "<J><p align='center'><font size='15'>De la "..sotie.."</font></p>\n\n<n><font size='20'>Nu vreau sa ma marit cu tine "..sot.."</font><br><br><vp>ESC<n> pentru a inchide tabelul", sot, 219, 99, 364, 219, 0x0e242d, 0x000000, 1, true)
- resda=0
- elseif c=="resNu1" then
- timp_loading = false
- timp_load = 15
- nunte = true
- ui.removeTextArea(800,name)
- ui.removeTextArea(801,name)
- ui.removeTextArea(802,name)
- ui.removeTextArea(803,name)
- ui.removeTextArea(804,name)
- resda=0
- ui.addTextArea(801, "", sotie, 212, 95, 377, 229, 0xc47800, 0x000000, 1, true)
- ui.addTextArea(802, "<J><p align='center'><font size='15'>De la "..sot.."</font></p>\n\n<n><font size='20'>Nu vreau sa ma casatoresc cu tine "..sotie.."</font><br><br><vp>ESC<n> pentru a inchide tabelul", sotie, 219, 99, 364, 219, 0x0e242d, 0x000000, 1, true)
- elseif c=="dasot" then
- movesotie=60
- ui.removeTextArea(6000,sot)
- ui.removeTextArea(6001,sot)
- ui.addTextArea(0, "<font size='18'>Da, da sunt!</font>", nil, 108, 189, 123, 30, 0x324650, 0x000000, 1, true)
- elseif c=="nusot" then
- ui.removeTextArea(6000,sot)
- ui.removeTextArea(6001,sot)
- movesotie=200
- movef = true
- mover = false
- ui.addTextArea(0, "<font size='18'>Nu, nu sunt!</font>", nil, 108, 189, 123, 30, 0x324650, 0x000000, 1, true)
- elseif c=="dasotie" then
- ui.removeTextArea(6000,sotie)
- ui.removeTextArea(6001,sotie)
- movesotie=95
- ui.addTextArea(0, "<font size='18'>Da, da sunt!</font>", nil, 172, 189, 123, 30, 0x324650, 0x000000, 1, true)
- elseif c=="nusotie" then
- ui.removeTextArea(6000,sotie)
- ui.removeTextArea(6001,sotie)
- movesotie=300
- movef = true
- mover = false
- ui.addTextArea(0, "<font size='18'>Nu, nu sunt!</font>", nil, 172, 189, 123, 30, 0x324650, 0x000000, 1, true)
- elseif c=="darazsotie" then
- ui.removeTextArea(6000,sotie)
- ui.removeTextArea(6001,sotie)
- movesotie=240
- movef = true
- tfm.exec.newGame(7257806)
- elseif c=="nurazsotie" then
- ui.removeTextArea(6000,sotie)
- ui.removeTextArea(6001,sotie)
- movesotie=233
- movef = true
- elseif c=="darazsot" then
- ui.removeTextArea(6000,sot)
- ui.removeTextArea(6001,sot)
- movesotie=340
- movef = true
- tfm.exec.newGame(7257806)
- elseif c=="nurazsot" then
- ui.removeTextArea(6000,sot)
- ui.removeTextArea(6001,sot)
- movesotie=233
- movef = true
- elseif c=="butonul" then
- ui.removeTextArea(0,nil)
- movesotie=600
- movef = true
- ui.removeTextArea(6003,nil)
- tfm.exec.removePhysicObject(1)
- elseif c=="log" then
- ui.addTextArea(802, Log:sub(1, 2000), name, 219, 100, 364, 219, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(810, "<a href='event:log'><b>comenzi</b></a>", name, 600, 95, 61, 16, 0x0e242d, 0xc47800, 1, true)
- ui.addTextArea(811, "<a href='event:system()'><b>System()</b></a>", name, 600, 142, x, 16, 0x0e242d, 0xc47800, 1, true)
- ui.addTextArea(812, "<a href='event:text arg'><b>Text ARG</b></a>", name, 600, 196, 62, 16, 0x0e242d, 0xc47800, 1, true)
- elseif c=="system()" then
- ui.addTextArea(813, Logsystem:sub(1, 2000), name, 219, 100, 364, 219, 0x0e242d, 0x000000, 1, true)
- elseif c=="text arg" then
- ui.addTextArea(814, Logmsg:sub(1, 2000), name, 219, 100, 364, 219, 0x0e242d, 0x000000, 1, true)
- elseif c=="remove" then
- ui.addTextArea(1800, "Porneşte", name, 30, 383, 58, 21, 0x4f2b18, nil, 1, true)
- ui.addTextArea(1801, "<font size='14'>Dacă vrei să-ţi apară butoanele apasă: <v>Porneşte<n>,</font> jos stânga", name, 218, 147, 362, 103, 0xe242d, 0xc47800, 1, true)
- ui.addTextArea(1802, "<a href='event:removeconfirm'>Am înţeles</a>", name, 226, 221, 71, 20, 0x153745, 0x153745, 1, true)
- ui.addTextArea(1803, "<a href='event:removecm'>Ascunde şi opreşte TP şi EXP", name, 315, 221, 175, 20, 0x153745, 0x153745, 1, true)
- ui.addTextArea(1804, "<a href='event:cancel'>Anulează</a>", name, 507, 221, 63, 20, 0x153745, 0x153745, 1, true)
- ui.removeTextArea(801,name)
- ui.removeTextArea(802,name)
- ui.removeTextArea(803,name)
- ui.removeTextArea(804,name)
- ui.removeTextArea(1,name)
- elseif c=="nextE" then
- ui.addTextArea(11,"<p align='center'><BL>| <n><a href='event:sit'><b>confeti</b></a> <BL>| <n><a href='event:flag'><b>11</b></a> <BL>| <n><a href='event:marsh'><b>bezea</b></a> <BL>| <n><a href='event:selfie'><b>selfie</b></a>",name,210,20,200,16,0x4F2B18,0x26140B,0.6,true)
- elseif c=="oncm" then
- print("<BV>"..name.." <r>a repornit <VP>butoanele TP şi EXP")
- ui.addTextArea(1, "<font size='10'><j><i><b>TribeHouse <vp>version "..version.."", nil, 10, 385, x, 20, nil,nil,0,true)
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp : <r>OFF</a></p>",name,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp : <r>OFF</a></p>",name,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(410,"<p align='center'><a href='event:meniu'><b>Menu</a></p>",name,155,20,45,16,0x4F2B18,0x26140B,0.6,true)
- ui.removeTextArea(1800,name)
- elseif c=="removecm" then
- print("<BV>"..name.." <r>a ascuns butoanele şi a oprit <VP> TP, EXP şi Menu")
- ui.addTextArea(1800, "<a href='event:oncm'>Porneşte</a>", name, 30, 383, 58, 21, 0x4f2b18, nil, 0, true)
- canTeleport[name] = false
- canExplosion[name] = false
- ui.removeTextArea(1801,name)
- ui.removeTextArea(1802,name)
- ui.removeTextArea(1803,name)
- ui.removeTextArea(1804,name)
- ui.removeTextArea(403,name)
- ui.removeTextArea(409,name)
- ui.removeTextArea(410,name)
- elseif c=="removeconfirm" then
- print("<BV>"..name.." <r>a ascuns butoanele <VP>TP, EXP şi Menu")
- ui.addTextArea(1800, "<a href='event:oncm'>Porneşte</a>", name, 30, 383, 58, 21, 0x4f2b18, 0, true)
- ui.removeTextArea(1801,name)
- ui.removeTextArea(1802,name)
- ui.removeTextArea(1803,name)
- ui.removeTextArea(1804,name)
- ui.removeTextArea(403,name)
- ui.removeTextArea(409,name)
- ui.removeTextArea(410,name)
- elseif c=="cancel" then
- print("<BV>"..name.." <r>a <bl>anulat oprirea TP, Exp şi Menu")
- ui.addTextArea(1, "<font size='10'><j><i><b>TribeHouse <vp>version "..version.."", nil, 10, 385, x, 20, nil,nil,0,true)
- ui.removeTextArea(1800,name)
- ui.removeTextArea(1801,name)
- ui.removeTextArea(1802,name)
- ui.removeTextArea(1803,name)
- ui.removeTextArea(1804,name)
- elseif c=="stop_particle" then
- ui.removeTextArea(1997,name)
- particle_2[name] = false
- particle_3[name] = false
- particle_1[name] = false
- particle[name] = false
- elseif c=="particle_3" then
- print("<CH>"..name.." <r>a pornit particula<j> confeti")
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 1, true)
- particle_3[name] = true
- particle[name] = false
- particle_1[name] = false
- particle_2[name] = false
- elseif c=="particle_2" then
- print("<CH>"..name.." <r>a pornit particula<BV> artificii")
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 1, true)
- particle_2[name] = true
- particle_3[name] = false
- particle_1[name] = false
- particle[name] = false
- elseif c=="particle_1" then
- print("<CH>"..name.." <r>a pornit particula<CH> ++")
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 1, true)
- particle_1[name] = true
- particle[name] = false
- particle_2[name] = false
- particle_3[name] = false
- elseif c=="particle" then
- print("<CH>"..name.." <r>a pornit particula<rose> inimi")
- particle[name] = true
- ui.addTextArea(1997, "<a href='event:stop_particle'>Oprire particulă</a>", name, 694, 380, 101, 21, 0x4f2b18, nil, 1, true)
- particle_1[name] = false
- particle_2[name] = false
- particle_3[name] = false
- elseif c=="danseaza" then
- print("<bv>["..name.."] <r>Ne-a pus să <vp>dansăm")
- tfm.exec.playEmote (nil,0,nil)
- elseif c=="rade" then
- print("<bv>["..name.."] <r>Ne-a pus să <vp>râdem")
- tfm.exec.playEmote (nil,1,nil)
- elseif c=="plange" then
- print("<bv>["..name.."] <r>Ne-a pus să <vp>plângem")
- tfm.exec.playEmote (nil,2,nil)
- elseif c=="pupici" then
- print("<bv>["..name.."] <r>Ne-a pus să ne <vp>pupăm")
- tfm.exec.playEmote (nil,3,nil)
- elseif c=="nervos" then
- print("<bv>["..name.."] <r>Ne-a pus să fim <vp>nervoşi")
- tfm.exec.playEmote (nil,4,nil)
- elseif c=="aplauda" then
- print("<bv>["..name.."] <r>Ne-a pus să <vp>aplaudăm")
- tfm.exec.playEmote (nil,5,nil)
- elseif c=="doarme" then
- print("<bv>["..name.."] <r>Ne-a pus să <vp>dormim")
- tfm.exec.playEmote (nil,6,nil)
- elseif c=="facepalm" then
- print("<bv>["..name.."] <r>Facepalm")
- tfm.exec.playEmote (nil,7,nil)
- elseif c=="confeti" then
- print("<bv>["..name.."] <r>Ne-a pus să<vp> stăm")
- tfm.exec.playEmote (nil,8,nil)
- elseif c=="sit" then
- print("<bv>["..name.."] <r>Ne-a pus să dăm cu<vp> confeti")
- tfm.exec.playEmote (nil,9,nil)
- elseif c=="flag" then
- print("<bv>["..name.."] <r>Ne-a pus să <vp>dansăm")
- tfm.exec.playEmote (nil,10,nil)
- elseif c=="marsh" then
- print("<bv>["..name.."] <r>Ne-a pus să <vp>campăm")
- tfm.exec.playEmote (nil,11,nil)
- elseif c=="selfie" then
- print("<bv>["..name.."] <r>Ne-a pus să facem<vp> selfie")
- tfm.exec.playEmote (nil,12,nil)
- elseif c=="sf.val" then
- tfm.exec.disableAutoShaman(true)
- 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.setGameTime(1200,true)
- tfm.exec.setUIMapName("<rose>Sf. Valentin")
- elseif c=="craciun" then
- tfm.exec.disableAutoShaman(true)
- tfm.exec.newGame([[<C><P D="x_evenements/x_fondNowel2013.jpg" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" o="12bd94" H="25" Y="397" T="12" m="" X="400" /><S P="0,0,0.3,0.2,0,0,0,0" L="125" o="12bd94" H="25" Y="361" T="12" m="" X="254" /><S P="0,0,0.3,0.2,0,0,0,0" L="300" o="12bd94" H="60" Y="361" T="12" m="" X="136" /><S P="0,0,0.3,0.2,0,0,0,0" L="20" o="12bd94" H="400" Y="201" T="12" m="" X="-10" /><S P="0,0,0.3,0.2,0,0,0,0" L="20" o="12bd94" H="400" Y="201" T="12" m="" X="811" /><S P="0,0,0.3,0.2,0,0,0,0" L="125" o="12bd94" H="25" Y="372" T="12" m="" X="284" /><S P="0,0,0.3,0.2,0,0,0,0" L="125" o="12bd94" H="25" Y="385" T="12" m="" X="312" /><S P="0,0,0.3,0.2,0,0,0,0" L="140" o="12bd94" H="10" Y="316" T="12" m="" X="495" /><S P="0,0,0.3,0.2,-70,0,0,0" L="160" o="12bd94" H="10" Y="210" T="12" m="" X="233" /><S P="0,0,0.3,0.2,-70,0,0,0" L="160" o="12bd94" H="10" Y="212" T="12" m="" X="249" /><S P="0,0,0.3,0.2,0,0,0,0" L="170" o="12bd94" H="10" Y="187" T="12" m="" X="80" /><S P="0,0,0.3,0.2,0,0,0,0" L="560" o="12bd94" H="10" Y="135" T="12" m="" X="536" /><S P="0,0,0.3,0.2,0,0,0,0" L="40" o="12bd94" H="40" Y="108" T="12" m="" X="422" /><S P="0,0,0.3,0.2,0,0,0,0" L="20" o="12bd94" H="40" Y="120" T="12" m="" X="365" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="12bd94" H="40" Y="115" T="12" m="" X="656" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="12bd94" H="50" Y="107" T="12" m="" X="752" /><S P="0,0,0.3,0.8,0,0,0,0" L="90" o="12bd94" H="40" Y="119" T="12" m="" X="705" /><S P="0,0,0.3,0.2,90,0,0,0" L="20" o="12bd94" H="900" Y="-9" T="12" m="" X="404" /></S><D><T Y="329" X="91" /><DS Y="317" X="89" /></D><O /></Z></C>]])
- tfm.exec.setGameTime(1200,true)
- tfm.exec.setUIMapName("Craciun 2013")
- elseif c=="halloween" then
- tfm.exec.disableAutoShaman(true)
- tfm.exec.newGame([[<C><P DS="y;362" bg="hdPQmAy" D="x_evenements/x_fondHalloweenMap2.jpg" Ca="" /><Z><S><S L="800" o="12bd94" H="25" X="400" Y="390" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="400" o="12bd94" H="20" X="-10" Y="200" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="400" o="12bd94" H="20" X="810" Y="200" T="12" m="" P="0,0,0,0.2,-90,0,0,0" /><S L="60" o="12bd94" H="10" X="27" Y="231" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="30" o="12bd94" H="10" X="61" Y="221" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="30" o="12bd94" H="10" X="153" Y="221" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="30" o="12bd94" H="10" X="237" Y="223" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="30" o="12bd94" H="10" X="332" Y="223" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="30" o="12bd94" H="10" X="398" Y="222" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="30" o="12bd94" H="10" X="491" Y="222" T="12" m="" P="0,0,0.3,0.2,-90,0,0,0" /><S L="50" o="12bd94" H="10" X="517" Y="231" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="60" o="12bd94" H="10" X="468" Y="197" T="12" m="" P="0,0,0.3,0.2,30,0,0,0" /><S L="60" o="12bd94" H="10" X="308" Y="198" T="12" m="" P="0,0,0.3,0.2,30,0,0,0" /><S L="60" o="12bd94" H="10" X="130" Y="196" T="12" m="" P="0,0,0.3,0.2,30,0,0,0" /><S L="60" o="12bd94" H="10" X="84" Y="195" T="12" m="" P="0,0,0.3,0.2,-30,0,0,0" /><S L="60" o="12bd94" H="10" X="261" Y="198" T="12" m="" P="0,0,0.3,0.2,-30,0,0,0" /><S L="60" o="12bd94" H="10" X="421" Y="197" T="12" m="" P="0,0,0.3,0.2,-30,0,0,0" /><S L="150" o="12bd94" H="10" X="531" Y="114" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" o="12bd94" H="10" X="194" Y="231" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="140" o="12bd94" H="110" X="733" Y="284" T="12" m="" P="0,0,20,0.2,0,0,0,0" /><S L="110" o="12bd94" H="110" X="741" Y="222" T="12" m="" P="0,0,0.3,0.2,40,0,0,0" /><S L="110" o="12bd94" H="120" X="747" Y="150" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="60" o="12bd94" H="10" X="366" Y="231" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="325" o="12bd94" H="10" X="245" Y="115" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S L="840" o="12bd94" H="25" X="400" Y="-4" T="12" m="" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="60" o="12bd94" X="1" Y="115" T="12" m="" H="10" /></S><D /><O /></Z></C>]])
- tfm.exec.setGameTime(1200,true)
- tfm.exec.setUIMapName("Halloween 2013 Cassino")
- elseif c=="halloween1" then
- tfm.exec.disableAutoShaman(true)
- tfm.exec.newGame([[<C><P DS="m;58,329,176,298,328,270,500,269,652,295,762,325" Ca="" D="x_transformice/x_maps/x_hw2014/x_1.jpg" d="x_transformice/x_maps/x_hw2014/x_1av.png" IP="x_transformice/x_maps/x_hw2014/x_p1.jpg,45,178;x_transformice/x_maps/x_hw2014/x_p2.jpg,198,229;x_transformice/x_maps/x_hw2014/x_p4.jpg,335,197;x_transformice/x_maps/x_hw2014/x_p5.jpg,554,229;x_transformice/x_maps/x_hw2014/x_p0.jpg,684,172" /><Z><S><S H="10" L="30" X="726" c="3" Y="188" m="" P="0,0,0.3,0.2,133,0,0,0" /><S H="10" L="30" X="97" c="3" Y="189" m="" P="0,0,0.3,0.2,-18,0,0,0" /><S H="10" L="30" X="81" c="3" Y="206" m="" P="0,0,0.3,0.2,-70,0,0,0" /><S H="10" L="13" X="251" c="3" Y="60" m="" P="0,0,0.3,0.2,20,0,0,0" /><S H="10" L="30" X="116" c="3" Y="196" m="" P="0,0,0.3,0.2,-130,0,0,0" /><S H="10" L="58" X="418" c="3" Y="147" m="" P="0,0,0.3,0.2,-2,0,0,0" /><S P="0,0,0.6,0.2,-10,0,0,0" L="145" lua="1" X="248" Y="304" m="" H="10" /><S H="10" L="65" X="605" c="3" Y="202" m="" P="0,0,0.3,0.2,43,0,0,0" /><S H="10" L="80" X="447" c="3" Y="157" m="" P="0,0,0.3,0.2,35,0,0,0" /><S H="10" L="60" X="259" c="3" Y="200" m="" P="0,0,0.3,0.2,25,0,0,0" /><S H="10" L="30" X="745" c="3" Y="183" m="" P="0,0,0.3,0.2,20,0,0,0" /><S H="10" L="60" X="103" c="3" Y="99" m="" P="0,0,0.3,0.2,-10,0,0,0" /><S H="10" L="60" X="213" c="3" Y="209" m="" P="0,0,0.3,0.2,-43,0,0,0" /><S H="10" L="80" X="389" c="3" Y="158" m="" P="0,0,0.3,0.2,-36,0,0,0" /><S P="0,0,0.6,0.2,0,0,0,0" L="140" lua="2" X="421" Y="287" m="" H="10" /><S H="10" L="90" X="670" c="3" Y="92" m="" P="0,0,0.3,0.2,25,0,0,0" /><S H="10" L="60" X="558" c="3" Y="194" m="" P="0,0,0.3,0.2,-24,0,0,0" /><S P="0,0,0.3,0.2,-21,0,0,0" L="80" X="35" Y="358" m="" H="10" /><S P="0,0,0.6,0.2,16,0,0,0" L="114" lua="4" X="702" Y="329" m="" H="10" /><S P="0,0,0.6,0.2,10,0,0,0" L="116" lua="3" X="568" Y="298" m="" H="10" /><S H="10" L="20" X="360" c="3" Y="80" m="" P="0,0,0.3,0.2,10,0,0,0" /><S P="0,0,0.6,0.2,-15,0,0,0" L="110" lua="0" X="125" Y="330" m="" H="10" /><S P="0,0,0.3,0.2,14,0,0,0" L="23" X="636" Y="311" m="" H="10" /><S P="0,0,0.3,0.2,-8,0,0,0" L="35" X="335" Y="289" m="" H="10" /><S P="0,0,0.3,0.2,4,0,0,0" L="23" X="502" Y="288" m="" H="10" /><S P="0,0,0.3,0.2,20,0,0,0" L="52" X="781" Y="354" m="" H="10" /><S P="0,0,0.3,0.2,85,0,0,0" L="90" H="10" c="3" Y="112" m="" X="762" /><S P="0,0,0.3,0.2,103,0,0,0" L="30" H="10" c="3" Y="250" m="" X="703" /><S X="712" L="30" H="10" c="3" Y="215" m="" P="0,0,0.3,0.2,103,0,0,0" /><S P="0,0,0.3,0.2,-100,0,0,0" L="30" H="10" c="3" Y="226" m="" X="128" /><S X="134" L="30" H="10" c="3" Y="259" m="" P="0,0,0.3,0.2,-100,0,0,0" /><S X="34" L="90" H="10" c="3" Y="138" m="" P="0,0,0.3,0.2,85,0,0,0" /><S P="0,0,0.3,0.2,85,0,0,0" L="90" X="41" c="3" Y="231" m="" H="10" /><S P="0,0,0.3,0.2,-230,0,0,0" L="30" H="10" c="3" Y="96" m="" X="130" /><S X="154" L="30" H="10" c="3" Y="90" m="" P="0,0,0.3,0.2,-170,0,0,0" /><S P="0,0,0.3,0.2,-190,0,0,0" L="30" X="186" c="3" Y="94" m="" H="10" /><S P="0,0,0.3,0.2,40,0,0,0" L="13" H="10" c="3" Y="77" m="" X="278" /></S><D><DS Y="81" X="104" /></D><O /></Z></C>]])
- tfm.exec.setGameTime(1200,true)
- tfm.exec.setUIMapName("Halloween")
- elseif c=="S.I." then
- ui.addTextArea(420, "<font size='16'>Eşti mulţumit de comenzile tribului TribeHouse?", nil, 233, 75, 326, 252, 0x4F2B18, 0x000000, 1, true)
- ui.addTextArea(421, "<p align='center'><a href='event:voteDA'>DA, sunt mulţumit de comenzile tribului</a></p>", nil, 246, 129, 302, 18, 0x7a4124, 0x000000, 1, true)
- ui.addTextArea(422, "<p align='center'><a href='event:voteNU'>NU sunt mulţumit de comenzile tribului</a></p>", nil, 246, 163, 302, 18, 0x7a4124, 0x000000, 1, true)
- ui.addTextArea(423, "<p align='center'><a href='event:voteNU1'>Unele comenzi sunt inutile şi nimeni nu le foloseşte</a></p>", nil, 246, 197, 302, 18, 0x7a4124, 0x000000, 1, true)
- ui.addTextArea(424, "<p align='center'><a href='event:voteSec'>Mai trebuie să fie actualizat la partea de securitate</a></p>", nil, 246, 231, 302, 18, 0x7a4124, 0x000000, 1, true)
- ui.addTextArea(425, "<p align='center'><a href='event:voteSu'>Doresc comenzi noi şi funcţii noi, utile</a></p>", nil, 246, 265, 302, 18, 0x7a4124, 0x000000, 1, true)
- ui.addTextArea(426, "<p align='center'><a href='event:voteOth'>Alte sugestii sau plângeri în legătură cu CMD</a></p>", nil, 245, 299, 302, 18, 0x7a4124, 0x000000, 1, true)
- elseif c=="voteDA" then
- ui.removeTextArea(420,name)
- ui.removeTextArea(421,name)
- ui.removeTextArea(422,name)
- ui.removeTextArea(423,name)
- ui.removeTextArea(424,name)
- ui.removeTextArea(425,name)
- ui.removeTextArea(426,name)
- ui.addPopup(1000,0,"<p align='center'><font size='15'>Mulţumesc că ai votat</font></p>",name,200,129,400)
- print("<vp>"..name.." este mulţumit de comenzile tribului CMD")
- elseif c=="voteNU" then
- ui.removeTextArea(420,name)
- ui.removeTextArea(421,name)
- ui.removeTextArea(422,name)
- ui.removeTextArea(423,name)
- ui.removeTextArea(424,name)
- ui.removeTextArea(425,name)
- ui.removeTextArea(426,name)
- ui.addPopup(12,2,"<p align='center'><b>Specifică motivul:</p></b>",name,300,200,200)
- print("<r>"..name.." nu este mulţumit de comenzile tribului. Motiv:")
- elseif c=="voteNU1" then
- ui.removeTextArea(420,name)
- ui.removeTextArea(421,name)
- ui.removeTextArea(422,name)
- ui.removeTextArea(423,name)
- ui.removeTextArea(424,name)
- ui.removeTextArea(425,name)
- ui.removeTextArea(426,name)
- ui.addPopup(13,2,"<p align='center'><b>Specifică comenzile inutile:</p></b>",name,300,200,200)
- print("<r>"..name.." unele comenzi sunt inutile: ")
- elseif c=="voteSec" then
- ui.removeTextArea(420,name)
- ui.removeTextArea(421,name)
- ui.removeTextArea(422,name)
- ui.removeTextArea(423,name)
- ui.removeTextArea(424,name)
- ui.removeTextArea(425,name)
- ui.removeTextArea(426,name)
- ui.addPopup(1000,0,"<p align='center'><b>Mulţumesc că ai votat</p></b>",name,300,200,200)
- print("<r>"..name.." <j>: mai trebuie să lucrezi la partea de securitate")
- elseif c=="voteSu" then
- ui.removeTextArea(420,name)
- ui.removeTextArea(421,name)
- ui.removeTextArea(422,name)
- ui.removeTextArea(423,name)
- ui.removeTextArea(424,name)
- ui.removeTextArea(425,name)
- ui.removeTextArea(426,name)
- ui.addPopup(1000,0,"<p align='center'><b>Mulţumesc că ai votat</p></b>",name,300,200,200)
- print("<r>"..name.." <j>: doreşte să adaugi comenzi noi şi funcţii noi")
- elseif c=="voteOth" then
- ui.removeTextArea(420,name)
- ui.removeTextArea(421,name)
- ui.removeTextArea(422,name)
- ui.removeTextArea(423,name)
- ui.removeTextArea(424,name)
- ui.removeTextArea(425,name)
- ui.removeTextArea(426,name)
- ui.addPopup(14,2,"<p align='center'><b>Comentează alte sugestii sau plângeri</p></b>",name,300,200,200)
- print("<r>"..name.." <j>: doreşte să scrie altă sugestie sau altă plângere")
- elseif c=="version" then
- Log = '<v>['..name..'] <n>a intrat la <vp>noutati\n'..Log
- print("<vp>"..name.." <r>a intrat la <vp>noutăţi")
- ui.addTextArea(801, "", name, 147, 27, 505, 351, 0xc47800, nil, 1, true)
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Nou, Versiunea "..version.." </font></p></b><br><N>Apasă <VP>Esc<N> pentru a închide tabelul<br><br><j><u>Comenzi noi: </u><br><n>- Scrie <vp>!np @code <n>şi poţi adăuga orice mapă vrei<br>- Scrie <vp>!map <n>şi îţi dă o mapă din sistem<br>- Scrie <vp>!test @code <n>si comenzile vor fi dezactivate 3 minute, fara sa te deranjeze cineva in timpul testarii<br>- In timpul tesarii daca vrei sa activezi o parte din comenzi, scrie <vp>!stop <n>doar tu ai comenzile activate<br>- Scrie <vp>- <n>daca vrei sa modifici timpul<br><br><rose><u>Jocuri:</u><br><n>- Am adaugat un buton, apasand butonul <vp>Menu<n> apoi butonul <rose>Jocuri<n> vei vedea ca am adaugat Mini-Jocul: <t>Killcheese<n>, prin vot poti juca <t>Killcheese<n> cu prietenii tai<br><br><r><u>Admin</r><n> si</n> <ch>VIP:</ch></u><n><br>- Administratorul si <ch>VIP<n> vor putea vedea istoricul comenzilor, a sistemului, si cine scrie prin comanda ,,<vp>!<n>''<br><br><j><u>Bug fix:</u><br><n>- Am fixat tabelul meniului<br>- Curatenie generala la <vp>Menu<br><n>- Am fixat buguri la sistem.", name, 152, 31, 495, 342, 0xe242d, nil, 1, true)
- ui.removeTextArea(803,name)
- elseif c=="admin" then
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Comenzile tribului - Admin</font></p><br><CH><b>Comenzile funcţionează apăsând pe tasta respectivă</b><br><N>Apasă <VP>Esc<N> pentru a închide tabelul<br><br><VP>F12 - <R>Admin", name, 219, 100, 364, 219, 0xe242d, 0x0, 1, true)
- elseif c=="kiler" then
- tfm.exec.killPlayer(name)
- elseif c=="codul" then
- print(""..name.." a deschis<R> verificare")
- ui.addPopup(29,2,"trebuie să pui doar 3 cifre, dacă e bine îţi apare un chenar că ai ghicit dacă nu, nu îţi apare nimic",name,400,200,200)
- elseif c=="explmax" then
- ui.removeTextArea(1019,name)
- ui.addTextArea(1021,"<p align='center'><a href='event:explmaxoff'><b>Max: <font color='#86ED89'>ON</font></b></a></p>",name,82, 44, 69, 16, 0x4F2B18,0x26140B, 0.6,true)
- maxExplosion[name] = true
- elseif c=="explmaxoff" then
- ui.removeTextArea(1021,name)
- ui.addTextArea(1019,"<p align='center'><a href='event:explmax'><b>Max: <font color='#F96868'>OFF</font></b></a></p>",name,82,44,69,16,0x4F2B18,0x26140B,0.6,true)
- maxExplosion[name] = false
- elseif c=="explmed" then
- ui.removeTextArea(1009,name)
- ui.addTextArea(1010,"<p align='center'><a href='event:explmedoff'><b>Med: <font color='#86ED89'>ON</font></b></a></p>",name,5, 44, 69, 16, 0x4F2B18,0x26140B, 0.6,true)
- medExplosion[name] = true
- elseif c=="explmedoff" then
- ui.removeTextArea(1010,name)
- ui.addTextArea(1009,"<p align='center'><a href='event:explmed'><b>Med: <font color='#F96868'>OFF</font></b></a></p>",name,5,44,69,16,0x4F2B18,0x26140B,0.6,true)
- medExplosion[name] = false
- elseif c=="vip" then
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Comenzile tribului VIP</font></p><br><CH><b>Comenzile funcţionează apăsând pe tasta respectivă</b><br><N>Apasă <VP>Esc<N> pentru a închide tabelul<br><CH>F1 - <N>toată lumea are brânză<br><CH>F2 - <N>Şterge toate obiectele şaman<br><CH>F3 - <N>Hărţi speciale <CH>(Evenimente)<br>F4 - <N>Îngheaţă jucătorul<br><CH>F5 - <N>Adaugă teren<br><CH>F6 - <N>Artificii<br><CH>F7 - <n>Controlezi emoţiile jucătorilor", name, 219, 100, 364, 219, 0xe242d, 0x0, 1, true)
- elseif c=="block" then
- ui.addTextArea(2001,"<p align='center'><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><a href='event:unblock'><B><VP>Deblochează</a></p>",nil,0,0,800,400,0x000001,0x000001,0,true)
- elseif c=="unblock" then
- if Admin(name) then
- print(""..name.." a deblocat")
- ui.removeTextArea(2001,nil)
- elseif name~="admin" then
- print(""..name.." nu poate debloca comanda block")
- end
- elseif c=="killcheese" then
- timp_asteptare = true
- voteno=0
- voteyes=0
- ui.removeTextArea(801,name)
- ui.removeTextArea(802,name)
- ui.removeTextArea(803,name)
- ui.removeTextArea(804,name)
- ui.removeTextArea(805,name)
- ui.addTextArea(7002,"<j><b>["..name.."]</b><n> doreşte să joace <b>KillCheese</b>, cine este de acord ? <a href='event:responDa'><u><vp>Sunt de acord</vp></u></a> <n>| <a href='event:responNu'><u><r>Nu sunt de acord</u></a>",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- elseif c=="responNu" then
- voteno=voteno+1
- ui.removeTextArea(7002,name)
- ui.addTextArea(7001,"<j><b>[Start Vot]</b><n> Se votează... <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,355,x,20,0x4F2B18,0x26140B,1,true)
- if voteno == 2 then
- timp_pornire = true
- timp_asteptare = false
- timp_remove1 = 10
- ui.removeTextArea(7002,nil)
- ui.addTextArea(7001,"<j><b>[Anulat]</b><n> Jucătorii nu vor să se joace <b>KillCheese.</b> Voturi: <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- end
- elseif c=="responDa" then
- voteyes=voteyes+1
- print(""..voteyes.."")
- ui.removeTextArea(7002,name)
- ui.addTextArea(7001,"<j><b>[Start Vot]</b><n> Se votează... <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,355,x,20,0x4F2B18,0x26140B,1,true)
- if voteyes == 4 then
- ui.addTextArea(7001,"<j><b>[Killcheese]</b><n> Distracţie placută, şobolani! <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,380,x,20,0x4F2B18,0x26140B,0.7,true)
- timp_avertizarejoc = true
- timp_pornire = true
- timp_asteptare = false
- timp_remove1 = 10
- ui.removeTextArea(7002,nil)
- minigame = true
- next = true
- object = false
- Fly = false
- respawn = false
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- cheese = false
- shaman = false
- vampire = false
- meep = false
- vipCheese = false
- playerVictory = false
- vipEvent = false
- vipIce = false
- vipGround = false
- vipParticle = false
- speedDr = false
- speedSt = false
- timeM = false
- trambel = false
- home = false
- grounds = {}
- teren = {}
- terenuri = {}
- gheata = {}
- gheatam = {}
- gheatama = {}
- tramb = {}
- trambu = {}
- trambul = {}
- cioco = {}
- ciocol = {}
- ciocola = {}
- particle = {}
- particle_1 = {}
- particle_2 = {}
- particle_3 = {}
- ui.removeTextArea(403,nil)
- ui.removeTextArea(409,nil)
- ui.removeTextArea(410,nil)
- game()
- end
- elseif c=="responDaJoc" then
- voteyes=voteyes+1
- ui.addTextArea(7001,"<j><b>[Start Vot]</b><n> Se votează... <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,355,x,20,0x4F2B18,0x26140B,0.7,true)
- if voteyes == 4 then
- timp_avertizarejoc = true
- timp_pornire = true
- timp_gandire = false
- ui.removeTextArea(7001,nil)
- ui.addTextArea(7002,"<j><b>[Bot]</b><n> Vă mai întreb peste <v>10 minute <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,380,x,20,0x4F2B18,0x26140B,0.7,true)
- end
- elseif c=="responNuJoc" then
- voteno=voteno+1
- ui.addTextArea(7001,"<j><b>[Start Vot]</b><n> Se votează... <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,355,x,20,0x4F2B18,0x26140B,0.7,true)
- if voteno == 2 then
- tfm.exec.disableAfkDeath(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- killcheese = false
- win = false
- die = false
- next = false
- minigame = false
- Fly = true
- object = true
- respawn = true
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- cheese = true
- shaman = true
- vampire = true
- meep = true
- vipCheese = true
- playerVictory = true
- vipEvent = true
- vipIce = true
- vipGround = true
- vipParticle = true
- speedDr = true
- speedSt = true
- timeM = true
- trambel = true
- home = true
- grounds = {}
- teren = {}
- terenuri = {}
- gheata = {}
- gheatam = {}
- gheatama = {}
- tramb = {}
- trambu = {}
- trambul = {}
- cioco = {}
- ciocol = {}
- ciocola = {}
- particle = {}
- particle_1 = {}
- particle_2 = {}
- particle_3 = {}
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp: <r>OFF</a></p>",nil,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp: <r>OFF</a></p>",nil,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(410,"<p align='center'><a href='event:meniu'><b>Menu</a></p>",nil,155,20,45,16,0x4F2B18,0x26140B,0.6,true)
- nokill = true
- nowin = true
- nodie = true
- ui.removeTextArea(7002,nil)
- ui.addTextArea(7001,"<j><b>[Anulat]</b><n> Jucătorii nu mai vor să se joace <b>KillCheese.</b> Voturi: <vp>Da "..voteyes.."/4 <n>| <r>Nu "..voteno.."/2",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- timp_pornire = true
- timp_gandire = false
- tfm.exec.newGame(m[math.random(#m)])
- end
- elseif c=="regl" then
- ui.addTextArea(802, "<p align='center'><font size='18'><j>Mini-Jocuri</j></font></p><br><br><br><br><br><br><br><br><font size='18'>Mai multe Mini-Jocuri în curând...", name, 219, 100, 364, 219, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(805, "<b><a href='event:killcheese'>KillCheese</a>", name, 237, 151, 74, 19, 0x1a3f4d, 0xc47800, 1, true)
- elseif c=="reports" then
- ui.removeTextArea(60,name)
- ui.removeTextArea(61,name)
- ui.removeTextArea(62,name)
- ui.addTextArea(53,"",name,150,30,500,350,0x4F2B18,0x4F2B18,1,true)
- ui.addTextArea(50,"<r>"..nume.."",name,150,30,100,350,0x4F2B18,0x4F2B18,0.6,true)
- ui.addTextArea(51,motive,name,257,30,250,350,0x4F2B18,0x4F2B18,0.6,true)
- ui.addTextArea(52,cine,name,530,30,100,350,0x4F2B18,0x4F2B18,0.6,true)
- ui.addTextArea(54,[[<a href="event:X">X</a>]],name,637,30,nil,nil,0x4F2B18,0x4F2B18,0.6,true)
- elseif c=="X" then
- ui.removeTextArea(53,name)
- ui.removeTextArea(50,name)
- ui.removeTextArea(51,name)
- ui.removeTextArea(52,name)
- ui.removeTextArea(54,name)
- elseif c=="inteles" then
- ui.removeTextArea(809,name)
- 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 c=="sageata" then
- tfm.exec.addShamanObject(0,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif c=="cutiemica" then
- tfm.exec.addShamanObject(1,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- ba=ba+1
- if ba == 30 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if ba == 60 then
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- ba=0
- t=5001
- end
- elseif c=="cutiemare" then
- tfm.exec.addShamanObject(2,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bb[name]=bb[name]+1
- if bb[name] == 30 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bb[name] == 60 then
- bb[name]=0
- t=5001
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- elseif c=="lemnmic" then
- tfm.exec.addShamanObject(3,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bc=bc+1
- if bc == 70 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bc == 140 then
- bc=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="lemnmare" then
- tfm.exec.addShamanObject(4,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bd=bd+1
- if bd == 70 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bd == 140 then
- bd=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="minge" then
- print("<BV>["..name.."] a adaugat o minge.")
- tfm.exec.addShamanObject(6,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- be=be+1
- if be == 70 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if be == 140 then
- be=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="trambulina" then
- tfm.exec.addShamanObject(7,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bf=bf+1
- if bf == 30 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bf == 60 then
- bf=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="anvila" then
- print("<CH>["..name.."] <N>a adaugat o nicovala.")
- tfm.exec.addShamanObject(10,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bg=bg+1
- if bg == 40 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bg == 80 then
- bg=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="bomb" then
- print("<CH>["..name.."] <N>a adaugat o bomba.")
- tfm.exec.addShamanObject(23,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bh=bh+1
- if bh == 60 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bh == 120 then
- bh=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="portal" then
- tfm.exec.addShamanObject(26,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif c=="portals" then
- tfm.exec.addShamanObject(27,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- elseif c=="balon" then
- tfm.exec.addShamanObject(28,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bi=bi+1
- if bi == 100 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bi == 200 then
- bi=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="runa" then
- print("<BV>["..name.."] a adaugat o runa.")
- tfm.exec.addShamanObject(32,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bn=bn+1
- if bn == 70 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bn == 140 then
- bn=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="sow" then
- if players[name].time<=os.time()-1000 then
- tfm.exec.addShamanObject(34,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- players[name].time=os.time()
- end
- elseif c=="van" then
- if players[name].time<=os.time()-1000 then
- tfm.exec.addShamanObject(35,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- players[name].time=os.time()
- end
- elseif c=="mar" then
- tfm.exec.addShamanObject(39,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bj=bj+1
- if bj == 60 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bj == 120 then
- bj=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="sheep" then
- tfm.exec.addShamanObject(40,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bq=bq+1
- if bq == 25 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bq == 50 then
- bq=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="gheata" then
- print("<CH>["..name.."] <N>a adaugat obiect ID = 54 > ghea?a.")
- tfm.exec.addShamanObject(54,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bl=bl+1
- if bl == 30 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bl == 60 then
- bl=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="bule" then
- tfm.exec.addShamanObject(59,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bk=bk+1
- if bk == 70 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bk == 140 then
- bk=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="mic" then
- tfm.exec.addShamanObject(60,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bo=bo+1
- if bo == 70 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bo == 140 then
- bo=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Esti Banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="cutiein" then
- print("<CH>["..name.."] <N>a adaugat cutie ID = 61 > 25 > Cutie cu inima")
- tfm.exec.addShamanObject(61,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bm=bm+1
- if bm == 12 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bm == 24 then
- bm=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="nor" then
- print("<CH>["..name.."] <N>a adăugat un nor ID = 57 > 26 > Nor")
- tfm.exec.addShamanObject(57,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+10)
- bp=bp+1
- if bp == 100 then
- ui.addTextArea(809,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><j>Avertisment</j></font></p><br><br> <font size='20'>Te rog să nu mai faci spam. Ai şanse să fi banat.</font> <br><br><br><br><v><font size='25'><a href='event:inteles'>Am înţeles</a></font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- end
- if bp == 200 then
- bp=0
- table.insert(ban, name)
- tfm.exec.killPlayer(name);
- ui.addTextArea(800,"<p align='center'><br><br><br><br><br><br><br><br><B><font size='40'><r>Eşti banat</r></font></p><br><br> <font size='20'>2 MINUTE</font>",name,0,0,800,400,0x000001,0x000001,0.5,true)
- t=5001
- end
- elseif c=="killall" then
- tfm.exec.setUIShamanName(""..name.." i-a omorât pe toţi.")
- for name in pairs(tfm.get.room.playerList) do tfm.exec.killPlayer(name) end
- elseif c=="allwin" then
- tfm.exec.setUIShamanName(""..name.." toţi WIN.")
- for name in pairs(tfm.get.room.playerList) do tfm.exec.giveCheese(name)
- tfm.exec.playerVictory(name) end
- elseif c=="expl" then
- print("<BV>["..name.."] <R>a pornit butonul: <VP>Explosion.")
- ui.addTextArea(409,"<p align='center'><a href='event:exploff'><b>Exp : <VP>ON</a></p>",name,78, 20, 69, 16, 0x4F2B18,0x26140B, 0.6,true)
- canExplosion[name] = true
- elseif c=="exploff" then
- print("<BV>["..name.."] <R>a oprit butonul: <VP>Explosion.")
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp : <R>OFF</a></p>",name,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- canExplosion[name] = false
- elseif c=="tp" then
- print("<BV>["..name.."] <R>a pornit butonul: <VP>TP (Teleport).")
- ui.addTextArea(403,"<p align='center'><a href='event:tpoff'><b>Tp : <VP>ON</a></p>",name,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- canTeleport[name] = true
- elseif c=="tpoff" then
- print("<BV>["..name.."] <R>a oprit butonul: <VP>TP (Teleport).")
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp : <R>OFF</a></p>",name,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- canTeleport[name] = false
- elseif c=="chamall" then
- tfm.exec.setUIShamanName("Şaman All")
- for name in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(name) end
- elseif c=="ban" then
- ui.addPopup(10,2,"Introdu jucătorul: ",name,350,200,nil,nil,true)
- elseif c=="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 c=="bill" then
- ui.addPopup(8,2,"Cu această comanda poţi omorî un jucător",name,400,250,200)
- elseif c=="unbanall" then
- tfm.exec.setUIShamanName("<J>"..name.." <N>a golit lista ban.")
- ui.removeTextArea(800,nil)
- ui.removeTextArea(187,nil)
- tfm.exec.removePhysicObject(1)
- tfm.exec.removePhysicObject(2)
- tfm.exec.removePhysicObject(3)
- tfm.exec.removePhysicObject(4)
- ban = {}
- elseif c=="grade" then
- ui.addPopup(3,2,"<p align='center'><b>Scrie numele jucătorului pe care doreşti să-l pui Admin.</p></b>",name,300,200,200)
- elseif c=="teren70" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Lemn<R> cu dimensiunea de:<VP> 70")
- ui.removeTextArea(925,name)
- ui.addTextArea(926,"<p align='center'><a href='event:terenoff70'><b><font color='#8B5300'>L<VP>3</font></b></a></p>",name,140, 45, 30, 16, 0x4F2B18,0x26140B, 0.6,true)
- terenuri[name] = true
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="terenoff40" then
- print("<VP>["..name.."] <R>a oprit terenul de <VP>Lemn<R> cu dimensiunea de:<VP> 40")
- ui.removeTextArea(916,name)
- ui.addTextArea(915,"<p align='center'><a href='event:teren40'><b><font color='#8B5300'>L<R>2</font></b></a></p>",name,102,45,30,16,0x4F2B18,0x26140B,0.6,true)
- teren[name] = false
- elseif c=="closegr" then
- ui.removeTextArea(1998,name)
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="teren40" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Lemn<R> cu dimensiunea de:<VP> 40")
- ui.removeTextArea(915,name)
- ui.addTextArea(916,"<p align='center'><a href='event:terenoff40'><b><font color='#8B5300'>L<VP>2</font></b></a></p>",name,102, 45, 30, 16, 0x4F2B18,0x26140B, 0.6,true)
- teren[name] = true
- terenuri[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="teren20" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Lemn<R> cu dimensiunea de:<VP> 20")
- ui.removeTextArea(905,name)
- ui.addTextArea(906,"<p align='center'><a href='event:terenoff'><b><font color='#8B5300'>L<VP>1</font></b></a></p>",name,64, 45, 30, 16, 0x4F2B18,0x26140B, 0.6,true)
- grounds[name] = true
- terenuri[name] = false
- teren[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="gheata20" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Gheaţă<R> cu dimensiunea de:<VP> 20")
- ui.addTextArea(10,"<p align='center'><a href='event:gheata20off'><b><CH>G<VP>1</b></a></p>",name,178,45,30,16,0x4F2B18,0x26140B,0.6,true)
- gheata[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="gheata40" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Gheaţă<R> cu dimensiunea de:<VP> 40")
- ui.addTextArea(11,"<p align='center'><a href='event:gheata40off'><b><CH>G<VP>2</b></a></p>",name,216,45,30,16,0x4F2B18,0x26140B,0.6,true)
- gheatam[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="gheata70" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Gheaţă<R> cu dimensiunea de:<VP> 70")
- ui.addTextArea(12,"<p align='center'><a href='event:gheata70off'><b><CH>G<VP>3</b></a></p>",name,254,45,30,16,0x4F2B18,0x26140B,0.6,true)
- gheatama[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="tramb20" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Trambulină<R> cu dimensiunea de:<VP> 20")
- ui.addTextArea(13,"<p align='center'><a href='event:tramb20off'><b><font color='#8401B4'>T</font><VP>1</b></a></p>",name,292,45,30,16,0x4F2B18,0x26140B,0.6,true)
- tramb[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="tramb40" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Trambulină<R> cu dimensiunea de:<VP> 40")
- ui.addTextArea(14,"<p align='center'><a href='event:tramb40off'><b><font color='#8401B4'>T</font><VP>2</b></a></p>",name,330,45,30,16,0x4F2B18,0x26140B,0.6,true)
- trambu[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="tramb70" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Trambulină<R> cu dimensiunea de:<VP> 70")
- ui.addTextArea(15,"<p align='center'><a href='event:tramb70off'><b><font color='#8401B4'>T</font><VP>3</b></a></p>",name,368,45,30,16,0x4F2B18,0x26140B,0.6,true)
- trambul[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- cioco[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="coco20" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Ciocolată<R> cu dimensiunea de:<VP> 20")
- ui.addTextArea(16,"<p align='center'><a href='event:coco20off'><b><font color='#3E1F00'>C</font><VP>1</b></a></p>",name,406,45,30,16,0x4F2B18,0x26140B,0.6,true)
- cioco[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- ciocol[name] = false
- ciocola[name] = false
- elseif c=="coco40" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Ciocolată<R> cu dimensiunea de:<VP> 40")
- ui.addTextArea(17,"<p align='center'><a href='event:coco40off'><b><font color='#3E1F00'>C</font><VP>2</b></a></p>",name,444,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ciocol[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocola[name] = false
- elseif c=="coco70" then
- ui.addTextArea(1998, "<a href='event:closegr'>Opreşte terenul</a>", name, 694, 380, 101, 21, 0x4f2b18)
- print("<VP>["..name.."] <R>a pornit terenul de <VP>Ciocolată<R> cu dimensiunea de:<VP> 70")
- ui.addTextArea(18,"<p align='center'><a href='event:coco70off'><b><font color='#3E1F00'>C</font><VP>3</b></a></p>",name,482,45,30,16,0x4F2B18,0x26140B,0.6,true)
- ciocola[name] = true
- terenuri[name] = false
- teren[name] = false
- grounds[name] = false
- gheata[name] = false
- gheatam[name] = false
- gheatama[name] = false
- tramb[name] = false
- trambu[name] = false
- trambul[name] = false
- cioco[name] = false
- ciocol[name] = false
- end
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- ui.removeTextArea(9,name)
- function eventPopupAnswer(id, nm, an)
- if id==-2 then
- end
- if id==1 then
- Log = '<ch>['..nm..'] <n>il ingheata pe <r>'..an..'\n'..Log
- ui.addTextArea(2,"<R><B>"..nm.."</B> : <N>te-am înghetat: <J><B>"..an.."",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- if tfm.get.room.playerList[an] then
- local y = tfm.get.room.playerList[an].y
- local x = tfm.get.room.playerList[an].x
- tfm.exec.addShamanObject(54, x, y, 0, 0, 0, false)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.displayParticle(15,x,y,math.random(-5,5),math.random(-5,5),name)
- tfm.exec.killPlayer(""..an.."")
- end
- end
- if id==2 then
- Log = '<r>['..nm..'] <n>unban > <vp>'..an..'\n'..Log
- table.insert(ban, an)
- ban = {}
- tfm.exec.setUIShamanName("<J>"..nm.." : <N>unban > <VP>"..an.."")
- ui.removeTextArea(800,an)
- ui.removeTextArea(187,an)
- tfm.exec.killPlayer(an);
- tfm.exec.removePhysicObject(1)
- tfm.exec.removePhysicObject(2)
- tfm.exec.removePhysicObject(3)
- tfm.exec.removePhysicObject(4)
- end
- if id==3 then
- table.insert(admin, an)
- Log = '<r>['..nm..'] <n>Este un nou administrator: <t>'..an..'\n'..Log
- ui.addTextArea(2,"<R><B>[Admin "..nm.."] : </B><N>Este un nou administrator temporar: <T><B>"..an.."</B>",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- tfm.exec.killPlayer(""..an.."")
- end
- if id==4 then
- if an == "" then
- print("<bv>"..nm.." <r>a anulat <j>Msg")
- ui.addPopup(5,0,"<p align='center'><font size='15'>Nu ai scris jucătorul, anulat.</font></p>",nm,200,129,400)
- end
- local txd={}
- for text in an:gmatch("[^%s]+") do
- table.insert(txd,text)
- end
- num=txd[1]
- end
- if id==5 then
- ui.addPopup(6,1,"<p align='center'><font size='15'>Ai scris corect numele: "..num.." ?</font></p>",nm,200,129,400)
- ui.addTextArea(2000, "", num, 480, 228, 317, 173, 0xc47800 , nil , nil , true)
- ui.addTextArea(2002, "<font size='11'><j>Ai primit un mesaj de la: <u>"..nm.."</u><br><br><n>"..an.."", num, 485, 233, 308, 159, 0x14313c, nil, nil, true)
- end
- if id==6 then
- if an== "yes" then
- ui.addTextArea(3, "Mesaj trimis !", nm, 708, 379, 87, 22, 0x163744)
- end
- if an== "no" then
- ui.addPopup(5,2,"<p align='center'><b>Scrie un mesaj:</p></b>",nm,300,200,200)
- ui.addPopup(4,2,"<p align='center'><b>Scrie numele jucătorului</p></b>",nm,300,200,200)
- end
- end
- if id==8 then
- tfm.exec.killPlayer(""..an.."")
- Log = '<ch>['..nm..'] <n>te-am ucis <r>'..an..'\n'..Log
- ui.addTextArea(2,"<J><B>"..nm.." : </B><N>Te-am ucis: <R><B>"..an.."</B>",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- end
- if id==9 then
- tfm.exec.setUIShamanName("<J>"..nm.." <N>a adăugat <J>"..an.." <N>sec.")
- tfm.exec.setGameTime(""..an.."")
- end
- if id==10 then
- Log = '<r>Admin['..nm..'] <n>il baneaza pe <v>'..an..'\n'..Log
- table.insert(ban, an)
- ui.addTextArea(2,"<J><B>[Admin "..nm.."] : </B><N>Eşti banat: <R><B>"..an.."</B>",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- ui.addTextArea(800,"",an,0,0,800,400,0x000001,0x000001,0.2,true)
- tfm.exec.killPlayer(""..an.."")
- end
- if id==11 then
- if an=="yes" then
- ui.addTextArea(11,"<p align='center'><BL>| <a href='event:sageata'><b>1</b></a> <BL>| <a href='event:cutiemica'><b>2</b></a> <BL>| <a href='event:cutiemare'><b>3</b></a> <BL>| <a href='event:lemnmic'><b>4</b></a> <BL>| <a href='event:lemnmare'><b>5</b></a> <BL>| <a href='event:minge'><b>6</b></a> <BL>| <a href='event:trambulina'><b>7</b></a> <BL>| <a href='event:anvila'><b>8</b></a> <BL>| <a href='event:bomb'><b>9</b></a> <BL>| <a href='event:portal'><b>10</b></a> <BL>| <a href='event:portals'><b>11</b></a> <BL>| <a href='event:balon'><b>12</b></a> <BL>| <a href='event:runa'><b>13</b></a> <BL>| <a href='event:sow'><b>14</b></a> <BL>| <a href='event:van'><b>15</b></a> <BL>| <a href='event:mar'><b>16</b></a> <BL>| <a href='event:sheep'><b>17</b></a> <BL>| <a href='event:gheata'><b>18</b></a> <BL>| <a href='event:bule'><b>19</b></a> <BL>| <a href='event:mic'><b>20</b></a> <BL>| <a href='event:cutiein'><b>21</b></a> <BL>| <a href='event:nor'><b>22</b></a><BL>|</p></font>",nm,210,20,600,16,0x4F2B18,0x26140B,0.6,true)
- end
- if an=="no" then
- print("["..nm.."] Nu doreşte să deschidă obiectele şaman.")
- end
- end
- if id==12 then
- ui.addPopup(1000,0,"<p align='center'><b>Mulţumesc că ai votat.</p></b>",nm,300,200,200)
- print("<r>"..nm.." <g>motivul este: <r>"..an.."")
- if an=="" then
- ui.addPopup(1000,0,"<p align='center'><b>Păcat că nu ai răspuns.</p></b>",nm,300,200,200)
- print("<r>"..nm.." nu a dorit să răspundă")
- end
- end
- if id==13 then
- ui.addPopup(1000,0,"<p align='center'><b>Mulţumesc că ai votat.</p></b>",nm,300,200,200)
- print("<r>"..nm.." <g>specifică: <r>"..an.."")
- if an=="" then
- ui.addPopup(1000,0,"<p align='center'><b>Păcat că nu ai răspuns.</p></b>",nm,300,200,200)
- print("<r>"..nm.." nu a dorit să răspundă")
- end
- end
- if id==14 then
- ui.addPopup(1000,0,"<p align='center'><b>Mulţumesc că ai votat.</p></b>",nm,300,200,200)
- print("<v>"..nm.." : "..an.."")
- end
- if id==999 then
- if an == "" then
- print("<bv>"..nm.." <r>a anulat")
- ui.addPopup(1000,0,"<p align='center'><font size='15'>Nu ai scris jucătorul, anulat.</font></p>",nm,200,129,400)
- end
- local arg={}
- for argument in an:gmatch("[^%s]+") do
- table.insert(arg,argument)
- end
- nme=arg[1]
- end
- if id==1000 then
- nume=nume..nme..[[
- ]]
- motive=motive..an..[[
- ]]
- cine=cine..nm..[[
- ]]
- ui.addPopup(100,0,"[SecurityBot]: <br>Mulţumesc că ai raportat jucătorul. Erikq, Kyasx sau Tucancitto vor verifica imediat.<br><br>Jucătorul raportat: <b>"..nme.."</b><br>Motiv: <b>"..an.."</b> <br>De cine: <b>"..nm.."</b>",nm,200,129,400)
- Log = '<v>['..nm..'] <n>a reportat o persoana: <r>'..nme..', motiv: '..an..'\n'..Log
- ui.addTextArea(60,[[<a href="event:reports"><j>Raportări<a>]],a,730,370,nil,nil,0x4F2B18,0x26140B,1)
- ui.addTextArea(61,[[<a href="event:reports"><j>Raportări<a>]],b,730,370,nil,nil,0x4F2B18,0x26140B,1)
- ui.addTextArea(62,[[<a href="event:reports"><j>Raportări<a>]],d,730,370,nil,nil,0x4F2B18,0x26140B,1)
- end
- if id==21 then
- if an=="" then
- nunte = true
- nuntar = false
- ui.addPopup(21,0,"<p align='center'><font size='15'>Nu ai scris jucătorul, anulat.</font></p>",nm,200,129,400)
- ui.addPopup(22,0,"<p align='center'><font size='15'>Nu ai scris jucătorul, anulat.</font></p>",nm,200,129,400)
- end
- local args={}
- for argument in an:gmatch("[^%s]+") do
- table.insert(args,argument)
- sotie=args[1]
- timp_loading = true
- ui.addTextArea(801, "", sotie, 212, 95, 377, 229, 0xc47800, 0x000000, 1, true)
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Scrisoare de acord de la "..nm.."</font></p>\n\n<n><font size='20'>Vrei sa te mariti cu "..sot.." ?", sotie, 219, 99, 364, 219, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(803, "<a href='event:resDa'>Da vreau</a>", sotie, 277, 263, 62, 16, 0x0e242d, 0xc47800, 1, true)
- ui.addTextArea(804, "<a href='event:resNu'>Nu vreau</a>", sotie, 455, 263, 62, 16, 0x0e242d, 0xc47800, 1, true)
- ui.addTextArea(801, "", sot, 212, 95, 377, 229, 0xc47800, 0x000000, 1, true)
- ui.addTextArea(802, "<J><p align='center'><font size='15'>Scrisoare de acord de la "..nm.."</font></p>\n\n<n><font size='20'>Vrei sa te casatoresti cu "..sotie.." ?", sot, 219, 99, 364, 219, 0x0e242d, 0x000000, 1, true)
- ui.addTextArea(803, "<a href='event:resDa'>Da vreau</a>", sot, 277, 263, 62, 16, 0x0e242d, 0xc47800, 1, true)
- ui.addTextArea(804, "<a href='event:resNu1'>Nu vreau</a>", sot, 455, 263, 62, 16, 0x0e242d, 0xc47800, 1, true)
- end
- end
- if id==22 then
- if an=="" then
- nuntar = false
- nunte = true
- ui.addPopup(21,0,"<p align='center'><font size='15'>Nu ai scris jucătorul, anulat.</font></p>",nm,200,129,400)
- ui.addPopup(22,0,"<p align='center'><font size='15'>Nu ai scris jucătorul, anulat.</font></p>",nm,200,129,400)
- end
- local argse={}
- for argument in an:gmatch("[^%s]+") do
- table.insert(argse,argument)
- end
- sot=argse[1]
- end
- end
- for i,command in ipairs({"1","q","a","np","map","test","stop","go","nunta"}) do system.
- disableChatCommandDisplay(command,true)
- end
- rpg = 0
- function eventChatCommand(name,com,msg)
- if com:sub(0,5)=="nunta" then
- if nunte then
- nuntar = true
- timp_MesajBot = true
- ui.addPopup(21,2,"<p align='center'><b>Cine este viitoarea <font color='#FA00B6'>Soție</font></p></b>",name,300,200,200,true)
- ui.addPopup(22,2,"<p align='center'><b>Cine este viitorul <font color='#0083AA'>Soț</font></p></b>",name,300,200,200,true)
- end
- if nunte == false then
- timp_MesajBot = true
- ui.addTextArea(6006,"<J><B>[Bot]</B><N> Cineva a trimis o scrisoare de acord, asteapta cateva minute",name,6,380,x,20,0x4F2B18,0x26140B,1,true)
- end
- end
- if com:sub(0,2)=="go" then
- table.insert(safk, name)
- Logmsg = ' <v>['..name..'] <n> concurs Activat\n'..Logmsg
- timp_normal = true
- end
- if com:sub(1,1)=="1" then
- Logmsg = ' <r>'..name..' <n>> <j>[Bot] <n> '..com:sub(3)..'\n'..Logmsg
- print("[B]"..name.." : "..com:sub(3).."")
- timp_MesajBot = true
- ui.addTextArea(4,"<J><B>[Bot]</B><N> "..com:sub(3).."",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- t=10
- end
- if com:sub(1,1)=="q" then
- Logmsg = '<j>['..name..'] <n> '..com:sub(3)..'\n'..Logmsg
- timp_MesajBot = true
- print("[Q]"..name.." : "..com:sub(3).."")
- ui.addTextArea(4,"<J><B>~"..name.."</B><N> "..com:sub(3).."",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- t=10
- end
- if com:sub(1,1)=="a" then
- Logmsg = ' <r>private player <n> <j>[Anonim] <n> '..com:sub(3)..'\n'..Logmsg
- timp_MesajBot = true
- print("[A]"..name.." : "..com:sub(3).."")
- ui.addTextArea(4,"<J><B>[Anonim]</B><N> "..com:sub(3).."",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- t=10
- end
- if com:sub(0,2)=="np" then
- if np then
- Logmsg = '<bl>[Np] ['..name..'] <n>a pus mapa: <bl>'..com:sub(3)..'\n'..Logmsg
- print("[Np]"..name.." a pus mapa: "..com:sub(4).."")
- tfm.exec.newGame(com:sub(4))
- end
- end
- if com:sub(0,3)=="map" then
- if maper then
- Logmsg = '<bl>[Map] ['..name..'] <n>a pus mapa \n'..Log
- print("[Map]"..name.." a pus mapa")
- tfm.exec.newGame(m[math.random(#m)])
- end
- end
- if com:sub(0,4)=="test" then
- Logmsg = '<bl>[Test] ['..name..'] <n>testeaza mapa: <bl>'..com:sub(6)..'\n'..Logmsg
- ui.removeTextArea(5,nil)
- if test_timp then
- systemOFF(s)
- timp_testExpirat=180
- notest = false
- test = true
- test_timp = false
- timp_test = true
- ui.addTextArea(1221,"Toate comenzile sunt dezactivate pentru 3 minute",nil,5,20,x,16,0x4F2B18,0x26140B,0.6,true)
- print("[Test]"..name.." a pus mapa: "..com:sub(6).."")
- tfm.exec.newGame(com:sub(6))
- tfm.exec.setGameTime(180)
- end
- end
- if com:sub(0,4)=="stop" then
- Logmsg = '<bl>[Test] ['..name..'] <n>a scris <bl>!stop\n'..Logmsg
- ui.addTextArea(1221,"Când trec cele <v>3 minute<n>, toate comenzile sunt activate",name,5,-20,x,16,0x4F2B18,0x26140B,1,true)
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp: <r>OFF</a></p>",name,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(410,"<p align='center'><a href='event:meniu'><b>Menu</a></p>",name,78,20,45,16,0x4F2B18,0x26140B,0.6,true)
- Fly = true
- canTeleport = {}
- cheese = true
- playerVictory = true
- vipParticle = true
- speedDr = true
- speedSt = true
- timeM = true
- trambel = true
- particle = {}
- particle_1 = {}
- particle_2 = {}
- particle_3 = {}
- end
- end
- function eventColorPicked (id,nm,an)
- tfm.exec.setNameColor (nm, an)
- end
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAfkDeath(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- t=0.5
- timp_remove2=15
- timp_remove=5
- timp_remove1=15
- timp_joc=600
- timp_normalpuncte=61
- timp_botpuncte=10
- timp_testExpirat=180
- timp_load = 15
- nuntal = 1
- timp_loader = 10
- movesotie = 800
- timp_pornire = false
- timp_asteptare = false
- timp_gandire = false
- timp_normal = false
- timp_MesajBot = false
- timp_test = false
- timp_loading = false
- timp_loaders = false
- np = true
- maper = true
- test = false
- test_timp = true
- notest = true
- movem = false
- moveb = false
- movet = false
- mover = false
- nuntar = false
- function eventLoop(currentTime, timeRemaining)
- if current_date < end_date then
- current_date = ro_date(os.date("%m/%d/%Y %H:%M:%S"))
- ui.updateTextArea(1004,"<J><B><p align='center'>Anunt important!</p></B><N><br><p align='left'>bla bla bla bla bla bla<br></p><br><br><p align='center'><font color='#aaaaaa' size='10'><B>Current time </B></font><br> <font color='#cccccc' size='10'>"..current_date.."</font></p><br><br><br><br><br><p align='right'><font color='#aaaaaa' size='10'><b>Anunt activ pana la date de </b></font></p><p align='right'><font color='#cccccc' size='10'>"..end_date.."</font></p>",nil,0,0,1,1,0x4F2B18,0x26140B,0.9,true)
- else
- ui.removeTextArea(1004,nil)
- for name, player in pairs(admin) do
- ui.addTextArea(5,"",player,-560,-250,1920,1080,true,0x100000,0.9,true)
- ui.addTextArea(1006, "", player, 212, 95, 377, 229, 0xc47800, 0x000000, 1, true)
- ui.addTextArea(1007, "Versiune Veche<br> Te rog schimba versiunea, intra pe discord sau contacteaza-l pe Erikq", player, 219, 100, 364, 219, 0x0e242d, 0x000000, 1, true)
- timer=false
- end
- end
- afk('afktime')
- afk('movetime')
- t=t+0.5
- if t==1 and nuntar == true then
- nuntal=nuntal-0.5
- if nuntal == 0 then
- nunte = false
- nuntar = false
- nuntal = 1
- end
- end
- if t==1 and timp_loaders == true then
- timp_loader=timp_loader-0.5
- if timp_loader == 0 then
- ui.removeTextArea(6007,nil)
- timp_loaders = false
- timp_loader = 10
- end
- end
- if t==1 and timp_loading then
- timp_load=timp_load-0.5
- if timp_load == 0 then
- nunte = true
- ui.removeTextArea(801,sot)
- ui.removeTextArea(802,sot)
- ui.removeTextArea(803,sot)
- ui.removeTextArea(804,sot)
- ui.removeTextArea(801,sotie)
- ui.removeTextArea(802,sotie)
- ui.removeTextArea(803,sotie)
- ui.removeTextArea(804,sotie)
- timp_loading = false
- timp_load = 15
- resda = 0
- ui.addTextArea(6007,"<J><B>[Scrisoare de acord Amanat]</B><N> Timpul a expirat, ori jucatorul a scris gresit numele ori nu a raspuns",sot,6,380,x,20,0x4F2B18,0x26140B,1,true)
- ui.addTextArea(6007,"<J><B>[Scrisoare de acord Amanat]</B><N> Timpul a expirat, ori jucatorul a scris gresit numele ori nu a raspuns",sotie,6,380,x,20,0x4F2B18,0x26140B,1,true)
- timp_loaders = true
- end
- end
- if t==1 and movem == true then
- movesotie=movesotie-0.5
- tfm.exec.movePlayer(sot,165, 265,offset,0,0,offset)
- if movesotie == 795 then
- die = false
- nodie = true
- ui.addTextArea(0, "Bun gasit martori oculari, luati loc...", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 790 then
- moveb = true
- movem = false
- movesotie=790
- tfm.exec.respawnPlayer(sotie)
- tfm.exec.movePlayer(sotie,790, 335,offset,0,0,offset)
- tfm.exec.setNameColor(sotie,0xFE00AD)
- end
- end
- if t==1 and moveb == true then
- tfm.exec.movePlayer(sot,165, 265,offset,0,0,offset)
- movesotie=movesotie-20
- tfm.exec.movePlayer(sotie,movesotie, 335,offset,0,0,offset)
- ui.addTextArea(0, "Buna <ch>"..sot.." <n>asteapta sa vina si <rose>"..sotie.."", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- if movesotie == 370 then
- tfm.exec.setNameColor(sot,0x02D0D4)
- tfm.exec.setNameColor(sotie,0xFE00AD)
- moveb = false
- movet = true
- end
- end
- if t==1 and movet == true then
- tfm.exec.movePlayer(sot,165, 265,offset,0,0,offset)
- movesotie=movesotie-0.5
- if movesotie == 369 then
- tfm.exec.movePlayer(sotie,335, 322,offset,0,0,offset)
- end
- if movesotie == 368 then
- tfm.exec.movePlayer(sotie,305, 300,offset,0,0,offset)
- end
- if movesotie == 367 then
- tfm.exec.movePlayer(sotie,275, 282,offset,0,0,offset)
- end
- if movesotie == 366 then
- tfm.exec.movePlayer(sotie,230, 265,offset,0,0,offset)
- movet = false
- mover = true
- movesotie=0
- end
- end
- if t==1 and mover == true then
- movesotie=movesotie+0.5
- tfm.exec.movePlayer(sotie,230, 265,offset,0,0,offset)
- tfm.exec.movePlayer(sot,165, 265,offset,0,0,offset)
- if movesotie == 1 then
- ui.addTextArea(0, "<ch>"..sot.." <n>si <rose>"..sotie.." <n>sunteti pregatiti ?", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 5 then
- ui.addTextArea(0, "Haidati sa incepem..", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 10 then
- ui.addTextArea(0, "Ne-am adunat aici să celebrăm această zi importantă", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 15 then
- ui.addTextArea(0, "Uniunea a 2 suflete în companie veșnică", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 20 then
- ui.addTextArea(0, "Voi veţi fi împreuna în prosperitate şi sărăcie", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 25 then
- ui.addTextArea(0, "şi în bucurie şi greutaţi", nil, 15, 154, 125, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 30 then
- ui.addTextArea(0, "<ch>"..sot.."<n>, eşti de acord să fiţi legati împreuna in dragoste acum şi pentru totdeauna??", nil, 15, 154, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 32 then
- ui.addTextArea(6000, "<a href='event:dasot'><font size='25'>Da</font></a>", sot, 101, 318, 40, 40, 0x324650, 0x000000, 1, true)
- ui.addTextArea(6001, "<a href='event:nusot'><font size='25'>Nu</font></a>", sot, 196, 318, 40, 40, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 42 then
- ui.addTextArea(0, "<ch>"..sot.." <n>nu raspunde, ce s-a intamplat cu el ? Hai ca mai asteptam putin.", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 52 then
- ui.addTextArea(0, "Se pare ca <ch>"..sot.." <n>nu este disponibil, voi amana nunta.", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 55 then
- ui.removeTextArea(0,nil)
- ui.removeTextArea(6000,nil)
- ui.removeTextArea(6001,nil)
- mover = false
- movesotie = 800
- systemON(s)
- tfm.exec.newGame(m[math.random(#m)])
- end
- if movesotie == 65 then
- ui.addTextArea(0, "<rose>"..sotie.."<n>, eşti de acord să fiţi legati împreuna in dragoste acum şi pentru totdeauna??", nil, 15, 154, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 67 then
- ui.addTextArea(6000, "<a href='event:dasotie'><font size='25'>Da</font></a>", sotie, 172, 318, 40, 40, 0x324650, 0x000000, 1, true)
- ui.addTextArea(6001, "<a href='event:nusotie'><font size='25'>Nu</font></a>", sotie, 258, 318, 40, 40, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 77 then
- ui.addTextArea(0, "<rose>"..sotie.." <n>nu raspunde, ce s-a intamplat cu ea ? Hai ca mai asteptam putin.", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 87 then
- ui.addTextArea(0, "Se pare ca <rose>"..sotie.." <n>nu este disponibila, voi amana nunta.", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 92 then
- ui.removeTextArea(0,nil)
- ui.removeTextArea(6000,nil)
- ui.removeTextArea(6001,nil)
- mover = false
- movesotie = 800
- systemON(s)
- tfm.exec.newGame(m[math.random(#m)])
- end
- if movesotie == 98 then
- mover = false
- movef = true
- end
- end
- if t==1 and movef == true then
- movesotie=movesotie+0.5
- if movesotie == 100 then
- tfm.exec.movePlayer(sot,190, 265,offset,0,0,offset)
- ui.addTextArea(0, "Atunci vă declar căsătoriţi! Poți săruta mireasa", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 110 then
- ui.addTextArea(0, "Haidati sa ne distram, va invit la restaurant la <rose>Paris!", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 115 then
- ui.removeTextArea(0,nil)
- 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.setGameTime(120,true)
- tfm.exec.setUIMapName("<n>Paris <ch>"..sot.." <n>si <rose>"..sotie.."")
- end
- if movesotie == 116 then
- tfm.exec.movePlayer(sotie,898, 220,offset,0,0,offset)
- tfm.exec.movePlayer(sot,805, 220,offset,0,0,offset)
- end
- if movesotie == 140 then
- systemON(s)
- movef = false
- movesotie = 800
- end
- if movesotie == 205 then
- ui.addTextArea(0, "Oh.. Imi pare rau de tine <rose>"..sotie.."", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 210 then
- ui.addTextArea(0, "Vrei sa te razbuni pe <ch>"..sot.." <n>?", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 212 then
- ui.addTextArea(6000, "<a href='event:darazsotie'><font size='25'>Da</font></a>", sotie, 101, 318, 40, 40, 0x324650, 0x000000, 1, true)
- ui.addTextArea(6001, "<a href='event:nurazsotie'><font size='25'>Nu</font></a>", sotie, 196, 318, 40, 40, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 230 then
- ui.addTextArea(0, "Se pare ca <rose>"..sotie.." <n>nu raspunde. La revedere.", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 235 then
- ui.removeTextArea(0,nil)
- ui.removeTextArea(6000,nil)
- ui.removeTextArea(6001,nil)
- systemON(s)
- movef = false
- movesotie = 800
- tfm.exec.newGame(m[math.random(#m)])
- end
- if movesotie == 241 then
- tfm.exec.addPhysicObject(1,408,-182,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(2,397,-32,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=10,
- groundCollision=true
- })
- tfm.exec.movePlayer(sotie,737, 168,offset,0,0,offset)
- tfm.exec.movePlayer(sot,422, 250,offset,0,0,offset)
- end
- if movesotie == 245 then
- die = true
- nodie = false
- tfm.exec.setUIMapName("<r>Razbunare <rose>"..sotie.."<n> se razbuna pe <r>"..sot.."")
- ui.addTextArea(0, "Bun, deci, <rose>"..sotie.."<n> ca sa moara apasa un singur buton", nil, 30, 140, 146, 44, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 250 then
- ui.addTextArea(6003, "<a href='event:butonul'><font size='24'>Buton</font></a>", sotie, 700, 240, 77, 32, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 270 then
- ui.addTextArea(0, "<rose>"..sotie.."<n> timpul se scurge !! Apasa!", nil, 30, 140, 146, 44, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 280 then
- die = false
- nodie = true
- ui.removeTextArea(0,nil)
- ui.removeTextArea(6003,nil)
- systemON(s)
- movef = false
- movesotie = 800
- tfm.exec.newGame(m[math.random(#m)])
- end
- if movesotie == 305 then
- ui.addTextArea(0, "Oh.. Imi pare rau de tine <ch>"..sot.."", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 310 then
- ui.addTextArea(0, "Vrei sa te razbuni pe <rose>"..sotie.." <n>?", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 312 then
- ui.addTextArea(6000, "<a href='event:darazsot'><font size='25'>Da</font></a>", sot, 101, 318, 40, 40, 0x324650, 0x000000, 1, true)
- ui.addTextArea(6001, "<a href='event:nurazsot'><font size='25'>Nu</font></a>", sot, 196, 318, 40, 40, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 330 then
- ui.addTextArea(0, "Se pare ca <ch>"..sot.." <n>nu raspunde. La revedere.", nil, 15, 124, 155, 60, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 335 then
- ui.removeTextArea(0,nil)
- ui.removeTextArea(6000,nil)
- ui.removeTextArea(6001,nil)
- systemON(s)
- movef = false
- movesotie = 800
- tfm.exec.newGame(m[math.random(#m)])
- end
- if movesotie == 341 then
- tfm.exec.addPhysicObject(1,408,-182,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=10,
- groundCollision=true
- })
- tfm.exec.addPhysicObject(2,397,-32,{
- type=0,
- restitution=0.2,
- friction=0.3,
- width=10,
- height=10,
- groundCollision=true
- })
- tfm.exec.movePlayer(sot,737, 168,offset,0,0,offset)
- tfm.exec.movePlayer(sotie,422, 250,offset,0,0,offset)
- end
- if movesotie == 345 then
- die = true
- nodie = false
- tfm.exec.setUIMapName("<r>Razbunare <ch>"..sot.."<n> se razbuna pe <r>"..sotie.."")
- ui.addTextArea(0, "Bun, deci, <ch>"..sot.."<n> ca sa moara apasa un singur buton", nil, 30, 140, 146, 44, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 350 then
- ui.addTextArea(6003, "<a href='event:butonul'><font size='24'>Buton</font></a>", sot, 700, 240, 77, 32, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 370 then
- ui.addTextArea(0, "<ch>"..sot.."<n> timpul se scurge !! Apasa!", nil, 30, 140, 146, 44, 0x324650, 0x000000, 1, true)
- end
- if movesotie == 380 then
- die = false
- nodie = true
- ui.removeTextArea(0,nil)
- ui.removeTextArea(6003,nil)
- systemON(s)
- movef = false
- movesotie = 800
- tfm.exec.newGame(m[math.random(#m)])
- end
- if movesotie == 607 then
- tfm.exec.removePhysicObject(2)
- end
- if movesotie == 627 then
- die = false
- nodie = true
- ui.removeTextArea(0,nil)
- systemON(s)
- movef = false
- movesotie = 800
- tfm.exec.newGame(m[math.random(#m)])
- end
- end
- if t==1 and timp_test == true then
- timp_testExpirat=timp_testExpirat-0.5
- if timp_testExpirat == 175 then
- ui.addTextArea(1221,"Toate comenzile sunt dezactivate pentru 3 minute",nil,5,-20,x,16,0x4F2B18,0x26140B,1,true)
- end
- if timp_testExpirat == 160 then
- test_timp = true
- ui.addTextArea(5,"Comanda <v>!test @code - <vp>Activat",nil,5,20,x,16,0x4F2B18,0x26140B,0.6,true)
- end
- if timp_testExpirat == 155 then
- ui.addTextArea(5,"Comanda <v>!test @code - <vp>Activat",nil,400,-20,x,16,0x4F2B18,0x26140B,1,true)
- end
- if timp_testExpirat == 0 then
- Logsystem = '<v>timp_test == <r>false <n>and points = <v>'..timp_testExpirat..' > 240\n'..Logsystem
- ui.removeTextArea(5,nil)
- test = false
- notest = true
- timp_test = false
- timp_testExpirat=240
- systemON(s)
- end
- end
- if t==1 and timp_MesajBot == true then
- timp_botpuncte=timp_botpuncte-0.5
- if timp_botpuncte == 0 then
- Logsystem = '<v>timp_MesajBot == <r>false <n>and points = <v>'..timp_botpuncte..' > 10\n'..Logsystem
- timp_botpuncte=10
- timp_MesajBot = false
- ui.removeTextArea(4,nil)
- ui.removeTextArea(3,nil)
- ui.removeTextArea(2,nil)
- ui.removeTextArea(0,sot)
- ui.removeTextArea(0,sotie)
- ui.removeTextArea(6006,nil)
- end
- end
- if t==1 and timp_normal == true then
- for index,player in pairs(isafk) do
- timp_normalpuncte=timp_normalpuncte-0.5
- timer(name)
- if timp_normalpuncte == 0 then
- Logsystem = '<v>timp_normal == <r>false <n>and points = <v>'..timp_normalpuncte..' > 61\n'..Logsystem
- timp_normal = false
- timp_normalpuncte=61
- ui.addTextArea(2,"<VP><B>[Concurs]</b> <N>Se încarcă...",name,6,380,x,20,0x4F2B18,0x26140B,1,true)
- end
- end
- end
- if t==1 and timp_gandire then
- timp_remove2=timp_remove2-0.5
- if timp_remove2 == 0 then
- Logsystem = '<v>timp_gandire == <r>false <n>and points = <v>'..timp_remove2..' > 15\n'..Logsystem
- tfm.exec.disableAfkDeath(true)
- tfm.exec.disableAutoTimeLeft(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- killcheese = false
- win = false
- die = false
- next = false
- minigame = false
- Fly = true
- respawn = true
- canTeleport = {}
- canExplosion = {}
- medExplosion = {}
- maxExplosion = {}
- cheese = true
- shaman = true
- vampire = true
- meep = true
- vipCheese = true
- playerVictory = true
- vipEvent = true
- vipIce = true
- vipGround = true
- vipParticle = true
- speedDr = true
- speedSt = true
- timeM = true
- trambel = true
- home = true
- grounds = {}
- teren = {}
- terenuri = {}
- gheata = {}
- gheatam = {}
- gheatama = {}
- tramb = {}
- trambu = {}
- trambul = {}
- cioco = {}
- ciocol = {}
- ciocola = {}
- particle = {}
- particle_1 = {}
- particle_2 = {}
- particle_3 = {}
- ui.addTextArea(403,"<p align='center'><a href='event:tp'><b>Tp: <r>OFF</a></p>",nil,5,20,65,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(409,"<p align='center'><a href='event:expl'><b>Exp: <r>OFF</a></p>",nil,78,20,69,16,0x4F2B18,0x26140B,0.6,true)
- ui.addTextArea(410,"<p align='center'><a href='event:meniu'><b>Menu</a></p>",nil,155,20,45,16,0x4F2B18,0x26140B,0.6,true)
- nokill = true
- nowin = true
- nodie = true
- tfm.exec.newGame(m[math.random(#m)])
- ui.addTextArea(7001,"<j><b>[Anulat]</b><n> Nu am primit voturi suficiente. Am oprit mini-jocul: <b>KillCheese</b>",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- timp_pornire = true
- timp_gandire = false
- timp_remove2=10
- end
- end
- if t==1 and timp_pornire == true then
- timp_remove=timp_remove-0.5
- if timp_remove == 0 then
- Logsystem = '<v>timp_pornire == <r>false <n>and points = <v>'..timp_remove..' > 5\n'..Logsystem
- voteyes=0
- voteno=0
- timp_pornire = false
- timp_remove=5
- ui.removeTextArea(7001,nil)
- ui.removeTextArea(7002,nil)
- end
- end
- if t==1 and timp_asteptare == true then
- timp_remove1=timp_remove1-0.5
- if timp_remove1 == 0 then
- timp_remove1=10
- ui.addTextArea(7001,"<j><b>[Anulat]</b><n> Nu am primit voturi suficiente.",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- ui.removeTextArea(7002,nil)
- timp_pornire = true
- timp_asteptare = false
- end
- end
- if t==1 and timp_avertizarejoc == true then
- timp_joc=timp_joc-0.5
- if timp_joc == 0 then
- ui.addTextArea(7002,"<j><b>[Anunţ]</b><n> Mai vreţi să vă jucaţi <b>Killcheese</b>, şobolani? <a href='event:responDaJoc'><u><vp>Sunt de acord</vp></u></a> <n>| <a href='event:responNuJoc'><u><r>Nu sunt de acord</u></a>",nil,6,380,x,20,0x4F2B18,0x26140B,1,true)
- timp_gandire = true
- timp_joc=600
- timp_remove2=10
- timp_avertizarejoc = false
- end
- end
- t=0.5
- end
- ui.removeTextArea(2,nil)
- print("<VP>PORNIT")
- afk('start')
Add Comment
Please, Sign In to add comment