-
Posts
431 -
Joined
Everything posted by Al3grab
-
create a looping timer with 5000 ms, then use guiSetText(label,tonumber(guiGetText(label))+1)
-
You can try using guiGetVisible
-
من الي صمم الشوب الخرافي هذا أكيد نفسه إلي صمم CIT و FFS شي مستحيل
-
What are you using to request the song? are you aware that playSound can play url's directly ?
-
كفوك يالذيب
-
تم تجهيز 200 ماب احترافي تقريباً تم تحويلهم بالكامل للديث ماتش صورة توضيحية صورة من القيم مود هل تعلم أنه أكثر من جلسة تقدر تلعب نفس الماب بدون تعارض بين كل جلسة ؟. يعني كل الجلسات ارينا 20 ولاحد يشوف الثاني
-
something like this myString = "Al3grab - My%20Cool%20Song" if string.find(myString,"Al3grab") and string.find(myString,"Cool") then return true else return false end
-
just add the 'or 0' next to the account data check
-
Try using string.find
-
pairs is better than ipairs in this case
-
We won't help him, he want to decompile leaked clients Then don't help him ?
-
انشغلت بالجامعة وسحبت شوي بس قريبا
-
What exactly are you trying to do here? send the script for checking
-
Here is a work around, make a .lua file, paste these in and add it on the top of the meta.xml. I don't know whether the script hiding the hud is server or client so you should try both. For server: _cp = outputChatBox -- Assign the default function to another name outputChatBox = function(a,b,c,d,e,f,g) -- Trick the default function if (string.find(a,"greenzone")) then -- Check if the passed message has got greenzone word in it (or do it your way) showPlayerHudComponentVisible(b,"weapon",true) -- Show the weapon hud (for server side) end _cp(a,b,c,d,e,f,g) -- Move to the actual function end For client: _cp = outputChatBox -- Assign the default function to another name outputChatBox = function(a,b,c,d,e,f,g) -- Trick the default function if (string.find(a,"greenzone")) then -- Check if the passed message has got greenzone word in it (or do it your way) showPlayerHudComponentVisible("weapon",true) -- Show the weapon hud (for client side) end _cp(a,b,c,d,e,f,g) -- Move to the actual function end
-
اللعبة بشكل عام فيها فئات منها مطور ومبرمج وصاحب سيرفر ولاعب مو شرط المبرمج الي متعلم له يصف كلمتين يقدر يطور في اللعبة لأن مو إختصاصه ولا شيئ ماتعلم له ولا يبي يتعلم ومثل الشي صاحب السيرفر واللاعب مو شرط يكونون يعرفون برمجة ويحاولون علشان يطلبون سكربتات الشخص بكل بساطة طلب مساعدة في كود وهو ماعنده خبرة، عندك استعداد تسوي له الكود من باب انكم مجتمعين علشان تلعبون وتقضون وقت حلو ساعده واذا تفكر بهالطريقة فإنت داخل مكان غلط مع حملتك طالب بحذف ال community لان فيه سكربتات جاهزة ولازم الناس تتعب وتحاول صح ؟!! وفي البداية والنهاية هذي لعبة وبتظل لعبة لا تاخذ كلشي بجدية زايدة D;
-
And how to do that? Send me the script and I'll check it for you
-
Make sure that your edit box is already created when the event is triggered
-
Everything seems fine, do you get any error @ /debugscript 3 ?
-
The 'PasswordTable' table I wrote was just for example, function savePassword() setData("LoginInfo",toJSON({guiGetText(LOGIN_edit[1]),guiGetText(LOGIN_edit[2])})) end addEvent("onClientPlayerLogin",true) addEventHandler("onClientPlayerLogin",root,savePassword) function getPassword() local pTable = fromJSON(getData("LoginInfo")) or {} if pTable and #pTable > 0 then guiSetText(LOGIN_edit[1],pTable[1]) guiSetText(LOGIN_edit[2],pTable[2]) return pTable[1],pTable[2] -- user,password else return end end addEventHandler("onClientResourceStart",root,getPassword) Btw how are you triggering the 'onClientPlayerLogin' event ?
-
function qwe() for i,v in ipairs ( getElementsByType("player") ) do setElementData(v,"Rep",((tonumber(getElementData(v,"Rep")) or 0) + 0.05 )) end end qwe() setTimer(qwe,60 * 1000 ,0)