
ayman1998
Members-
Posts
159 -
Joined
-
Last visited
Details
-
Gang
|RpG|
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
ayman1998's Achievements

Busta (15/54)
0
Reputation
-
ما يقبل يحمل ملفات ام تي اي مدري ليش
-
السلام عليكم ابي اسوي سيرفر mta على خادم بس ما بيصير يا ريت الاوامر او شرح لاهنت
-
اول شي السيرفر ما فية الى كم مود بنعدو على الاصابع تاني شي تقول ما نسرق و كل الافكار جديد شوف كل شي نفس السيرفرات الباقية زي الاحتلال مغير طريقة عرض الكلام و القروبات مغير الوحة بنك شوب اسلحة مطعم كلو نفس الشي بس الجديد في كل السيرفر هو انة تقدر تشتري من الاسلحة عن طريق البنك ثالث شي انتا تقول لك 3 اشهر تسوي في السيرفر بس انا ذاكر وقت هدام و انتا تقول بتسوي سيرفر و القصة صارلها اكتر من سنة رابع شي كل يلي ردو السيرفر حلو و ابداع اعرف انهم بجاملوك لانو معك رتبة في المنتدى خامس شي بتبعت ناس بزر على التيم يجيبو الايبي خايف ؟؟ لا تخاف انا ما راح اكلك سادس شي ما في فكرة اساسية للعب يعني الوحد يطفش من اول 5 دقائق ما في شي يمتع سابع شي اذا انتا زلمة واجه ولا تمحي الرد ولا تعطي حظر
-
سلام عليكم كيف اخليها تجي يا كل الشاشات addEventHandler("onClientRender", root, function() dxDrawLine(602, 5, 755, 5, tocolor(255, 255, 255, 255), 2, true) dxDrawLine(602, 51, 755, 51, tocolor(255, 255, 255, 255), 2, true) dxDrawLine(682, 11, 682, 41, tocolor(255, 255, 255, 255), 2, true) dxDrawRectangle(602,3154,48, tocolor(255, 255, 255, 50), true) end )
-
قلي يا موقع وبشتري
-
هيك كامل الوحة بتجي لاكن ما يجي فيها اشي GUIEditor = { gridlist = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.staticimage[1] = guiCreateStaticImage(393, 38, 464, 451, ":test444/13.png", false) GUIEditor.gridlist[1] = guiCreateGridList(8, 45, 446, 396, false, GUIEditor.staticimage[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Rank", 0.08) guiGridListAddColumn(GUIEditor.gridlist[1], "Name", 0.5) guiGridListAddColumn(GUIEditor.gridlist[1], "Money", 0.3) end ) addEvent("returnUp",true) addEventHandler("returnUp", root,function(Value) guiGridListClear(GUIEditor.gridlist[1]) local Rank = 0 for _,v in ipairs (Value) do Rank = Rank + 1 local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1,tonumber(Rank), false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 2,tostring(v.Name_), false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 3,tonumber(v.Money_), false, false) if ( Rank == 30 ) then break; end end end) local ReGet = true setTimer(function() if ( ReGet == true ) then if ( guiGetVisible(wndName) == true ) then triggerServerEvent("Up",getLocalPlayer()) ReGet = false setTimer(function() ReGet = true end,5000,1) end end end,1000,0) addEventHandler ("onResourceStart", getResourceRootElement(getThisResource()),function() executeSQLQuery("CREATE TABLE IF NOT EXISTS SQL_xTop_Money (Name,Account,Money)") end) addEventHandler("onPlayerQuit",getRootElement(),function() local Name = getPlayerName(source) local Account = getAccountName(getPlayerAccount(source)) local Money = getPlayerMoney(source) if not ( Account ) then return end local RowAccount = executeSQLQuery("SELECT * FROM SQL_xTop_Money WHERE Account = '"..tostring(Account).."'") if ( type(RowAccount) == "table" and #RowAccount == 0 or not RowAccount) then executeSQLQuery("INSERT INTO SQL_xTop_Money(Name,Account,Money) VALUES(?,?,?)",tostring(Name),tostring(Account),tonumber(Money)) else executeSQLQuery("UPDATE SQL_xTop_Money SET Name=?,Money=? WHERE Account=?",tostring(Name),tonumber(Money),tostring(Account)) end end) function getAllMoneyUsers() local Row = executeSQLQuery("SELECT * FROM SQL_xTop_Money") if ( type (Row) == "table" and #Row == 0 or not Row ) then return { } else return Row end end addEvent("Up",true) addEventHandler("Up",root,function() local TableUsersTop = {} for _,v in ipairs(getAllMoneyUsers()) do table.insert(TableUsersTop,{Name_ = v.Name,Money_ = v.Money,}) table.sort(TableUsersTop,function (a,b) return (tonumber (a.Money_) or 0 ) > ( tonumber (b.Money_) or 0) end) end triggerClientEvent(source,"returnUp",source,TableUsersTop) end)
-
هاد كود توب تاع حسن بس ما شتغل اتمنا حد بصلحة addEvent("returnUp",true) addEventHandler("returnUp", root,function(Value) guiGridListClear(GUIEditor.gridlist[1]) local Rank = 0 for _,v in ipairs (Value) do Rank = Rank + 1 local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1,tonumber(Rank), false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 2,tostring(v.Name_), false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 3,tonumber(v.Money_), false, false) if ( Rank == 30 ) then break; end end end) local ReGet = true setTimer(function() if ( ReGet == true ) then if ( guiGetVisible(wndName) == true ) then triggerServerEvent("Up",getLocalPlayer()) ReGet = false setTimer(function() ReGet = true end,5000,1) end end end,1000,0) addEventHandler ("onResourceStart", getResourceRootElement(getThisResource()),function() executeSQLQuery("CREATE TABLE IF NOT EXISTS SQL_xTop_Money (Name,Account,Money)") end) addEventHandler("onPlayerQuit",getRootElement(),function() local Name = getPlayerName(source) local Account = getAccountName(getPlayerAccount(source)) local Money = getPlayerMoney(source) if not ( Account ) then return end local RowAccount = executeSQLQuery("SELECT * FROM SQL_xTop_Money WHERE Account = '"..tostring(Account).."'") if ( type(RowAccount) == "table" and #RowAccount == 0 or not RowAccount) then executeSQLQuery("INSERT INTO SQL_xTop_Money(Name,Account,Money) VALUES(?,?,?)",tostring(Name),tostring(Account),tonumber(Money)) else executeSQLQuery("UPDATE SQL_xTop_Money SET Name=?,Money=? WHERE Account=?",tostring(Name),tonumber(Money),tostring(Account)) end end) function getAllMoneyUsers() local Row = executeSQLQuery("SELECT * FROM SQL_xTop_Money") if ( type (Row) == "table" and #Row == 0 or not Row ) then return { } else return Row end end addEvent("Up",true) addEventHandler("Up",root,function() local TableUsersTop = {} for _,v in ipairs(getAllMoneyUsers()) do table.insert(TableUsersTop,{Name_ = v.Name,Money_ = v.Money,}) table.sort(TableUsersTop,function (a,b) return (tonumber (a.Money_) or 0 ) > ( tonumber (b.Money_) or 0) end) end triggerClientEvent(source,"returnUp",source,TableUsersTop) end)
-
السلام عليكم انا شتري خادم لينكس بس ما اعرف لة كيفية اركب لوحة EasyAdmin على خادم او اريد افتح سيرفر mta كيفية اسوي سيرفر وارست وكل شيء
-
السلام عليكم اريد مابات ريس اعرف هاذ موقع www.mtasource.net بس ابي كلهن في ملف واحد لان هاذ موقع يطول كثير فية
-
السلام عليكم ابي مود لما يكتب ما يقدر يكتب الى بعد وقت يعني 5 ثواني و هيك و ابي مود انة الواحد ما يقدر يعيد نفس الكلام