[Script]Bilgi |
Enomicefare « Citoyen » 1405337040000
| 1 | ||
. . . -_-_-_-_-_-_-_-_Bilgi_-_-_-_-_-_-_-_- . . . Bu script ne ye yarar grounds = {} groundsa = {} players = {} plist = tfm.get.room.playerList function eventNewPlayer(name) players[name] = {ba=false,btime=0,ca=false,ctime=0,da=false,dtime=0} system.bindMouse(name,true) end for name,i in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end function eventNewGame() grounds = {} if tfm.get.room.xmlMapInfo.xml:gmatch("<S[^/]+/>") then for ground in tfm.get.room.xmlMapInfo.xml:gmatch("<S[^/]+/>") do local pos = #grounds+1 if tonumber(ground:match('T="([^"]+)"')) == 13 then grounds[pos] = {} grounds[pos].X = tonumber(ground:match('X="([^"]+)"')) grounds[pos].Y = tonumber(ground:match('Y="([^"]+)"')) grounds[pos].L = tonumber(ground:match('L="([^"]+)"')) grounds[pos].H = tonumber(ground:match('L="([^"]+)"')) grounds[pos].T = tonumber(ground:match('T="([^"]+)"')) else grounds[pos] = {} grounds[pos].X = tonumber(ground:match('X="([^"]+)"')) grounds[pos].Y = tonumber(ground:match('Y="([^"]+)"')) grounds[pos].L = tonumber(ground:match('L="([^"]+)"')) grounds[pos].H = tonumber(ground:match('H="([^"]+)"')) grounds[pos].T = tonumber(ground:match('T="([^"]+)"')) end end end groundsa = {} if tfm.get.room.xmlMapInfo.xml:gmatch("<P[^/]+/>") then for groundss in tfm.get.room.xmlMapInfo.xml:gmatch("<P[^/]+/>") do local posu = #groundsa+1 groundsa[posu] = {} groundsa[posu].X = tonumber(groundss:match('X="([^"]+)"')) groundsa[posu].Y = tonumber(groundss:match('Y="([^"]+)"')) groundsa[posu].T = tonumber(groundss:match('T="([^"]+)"')) end end end function eventMouse(n,x,y) for i,ground in ipairs(grounds) do if x > ground.X - ground.L/2 and x < ground.X + ground.L/2 and y > ground.Y - ground.H/2 and y < ground.Y + ground.H/2 then ui.addTextArea(2,"<r>Zemin id:<N>"..ground.T.."<br><r>Zemin yeri(x,y):<N>"..ground.X..","..ground.Y.."<br><r>Zemin büyüklüğü(L,H):<N>"..ground.L..","..ground.H.."",n,25,350,200,nil,0x31474F,0x27373F,1,true) players[n].ba=true players[n].btime = 3 end end for name,i in pairs(tfm.get.room.playerList) do if x > i.x - 15 and x < i.x + 15 and y > i.y - 15 and y < i.y + 15 then ui.addTextArea(3,"<r>Kişi adı:<N>"..name.."<br><r>Yeri(x,y):<N>"..plist[name].x..","..plist[name].y.."<br><r>Kabilesi:<N>"..plist[name].tribeName.."<N>",n,240,350,200,nil,0x31474F,0x27373F,1,true) players[n].ca=true players[n].ctime = 3 end end for i,groundd in ipairs(groundsa) do if groundd.X and groundd.Y then if x > groundd.X - 30 and x < groundd.X + 30 and y > groundd.Y - 40 and y < groundd.Y + 40 then ui.addTextArea(4,"<r>Süs id:<N>"..groundd.T.."<br><r>Süs yeri(x,y):<N>"..groundd.X..","..groundd.Y.."<br><r>Z:<N>"..i.."",n,455,350,200,nil,0x31474F,0x27373F,1,true) players[n].da=true players[n].dtime = 3 end end end end function eventLoop(k,g) for name,i in pairs(tfm.get.room.playerList) do if players[name].ba then players[name].btime = players[name].btime - 0.5 if players[name].btime < 0 then ui.removeTextArea(2,name) players[name].ba=false end end if players[name].ca then players[name].ctime = players[name].ctime - 0.5 if players[name].ctime < 0 then ui.removeTextArea(3,name) players[name].ca=false end end if players[name].da then players[name].dtime = players[name].dtime - 0.5 if players[name].dtime < 0 then ui.removeTextArea(4,name) players[name].da=false end end end end Tüm hakları gizlidir. Telif hakkı sahipleri:Enomicefare,Hotspotower Dernière modification le 1405367820000 |
Enesxfbxpro « Censeur » 1405341060000
| 0 | ||
Teşekkürler. |
Fatihmilano « Citoyen » 1405341780000
| 0 | ||
Döngüdeyken kişiyi bulamıyor demişsin de, if ile kontrol etsene? |
Kmlcan « Citoyen » 1405352460000
| 0 | ||
Çalışmıyor? |
Noktats « Citoyen » 1405358700000
| 0 | ||
nasıl çalışıyor |
Enesxfbxpro « Censeur » 1405360320000
| 0 | ||
Arkadaşlar sanırsam çalışması için şunları yapın: /np @kod ^ bunu yapın ve herhangi bir farenin üstüne tıkladığınızda çalışacaktır. Konuyu yazıyor zaten |
Enomicefare « Citoyen » 1405365120000
| 0 | ||
Enesxfbxpro a dit : Fatihmilano a dit : olmazki 1000 de bir dediğim bu ihtimal ifi geçtikten sonrada çıkabilir. Kmlcan a dit : çalışıyor tekrar dene. Noktats a dit : Enesxfbxpro a dit : teşekkürler Arkadaşlar biraz kötü bir script 50 satıra sığdırılabilir uğraşmadım benim için uğraşırsanız sevinirim :) Önemli enesfxpro lütfen prof resmini değiş tipe bak yua onu nerden buldun Dernière modification le 1405365300000 |
Enomicefare « Citoyen » 1405367760000
| 0 | ||
Arkadaşlar yeni güncelleme ile süslerin Z idisini ve Farelerin kabilesini görebileceksiniz. |
Fatihmilano « Citoyen » 1405542300000
| 0 | ||
Enomicefare a dit : Trilyonda bir diyelim istersen. |
Enomicefare « Citoyen » 1405620240000
| 0 | ||
Fatihmilano a dit : 100000 de 1 ediyor galiba |
Enomicefare « Citoyen » 1533379680000
| 0 | ||
Scriptin çalışması için /np @kod yazmayı unutmayın |