-
Posts
838 -
Joined
-
Last visited
-
Days Won
16
Everything posted by KillerX
-
@Abu-Solo كفووووو صلصة ذذ شغل جميل من شخص اجمل استمر
-
ونتيجه اللوب مع اوت بوت شات بوكس هي كدا بيطلعلك جميع اسماء الاعبين اللي في السيرفر
-
تمت الافادة + استعمالك خطا كيف بتجيب اسماء الاعبين من الجريد ليست عن طريق getPlayerName ?? دا لو يبي يضيفهم بس لو يبي يجيبهم يستعمل الطريقة اللي فوق
-
New Server : طارات العرب - قيم مود ( هجولة - مهمآت ) ء
KillerX replied to Mr.Mostafa's topic in Arabic / العربية
سيرفر جميل بالتوفيق لكم -
كلنت for i = 0,guiGridListGetRowCount(gridlist) - 1 do outputChatBox(guiGridListGetItemText('اسم الجريد ليست',i,'اسم الكوليمن')) end
-
لا يا حلو لو تتاكد من السكريبت انا مش مسويها بالسيريال مسويها بحساب الاعب : )
-
خدوا دا ض2 executeSQLQuery('CREATE TABLE IF NOT EXISTS Statess (Money,Skin,Health,Armor,R,B,G,X,Y,Z,Interior,Dim,Wanted,weponID0,weponID1,weponID2,weponID3,weponID4,weponID5,weponID6,weponID7,weponID8,weponID9,weponID10,weponID11,weponID12,Ammo0,Ammo1,Ammo2,Ammo3,Ammo4,Ammo5,Ammo6,Ammo7,Ammo8,Ammo9,Ammo10,Ammo11,Ammo12,ACC)') addEventHandler('onPlayerQuit',root, function() local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then local x,y,z = getElementPosition(source) local r,b,g = getPlayerNametagColor(source) executeSQLQuery('INSERT INTO Statess (Money,Skin,Health,Armor,R,B,G,X,Y,Z,Interior,Dim,Wanted,weponID0,weponID1,weponID2,weponID3,weponID4,weponID5,weponID6,weponID7,weponID8,weponID9,weponID10,weponID11,weponID12,Ammo0,Ammo1,Ammo2,Ammo3,Ammo4,Ammo5,Ammo6,Ammo7,Ammo8,Ammo9,Ammo10,Ammo11,Ammo12,ACC) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)',getPlayerMoney(source),getElementModel(source),getElementHealth(source),getPedArmor(source),r,b,g,x,y,z,getElementInterior(source),getElementDimension(source),getPlayerWantedLevel(source),getPedWeapon(source,0),getPedWeapon(source,1),getPedWeapon(source,2),getPedWeapon(source,3),getPedWeapon(source,4),getPedWeapon(source,5),getPedWeapon(source,6),getPedWeapon(source,7),getPedWeapon(source,8),getPedWeapon(source,9),getPedWeapon(source,10),getPedWeapon(source,11),getPedWeapon(source,12),getPedTotalAmmo(source,0),getPedTotalAmmo(source,1),getPedTotalAmmo(source,2),getPedTotalAmmo(source,3),getPedTotalAmmo(source,4),getPedTotalAmmo(source,5),getPedTotalAmmo(source,6),getPedTotalAmmo(source,7),getPedTotalAmmo(source,8),getPedTotalAmmo(source,9),getPedTotalAmmo(source,10),getPedTotalAmmo(source,11),getPedTotalAmmo(source,12),getAccountName(getPlayerAccount(source))) outputChatBox('Saved',source,0,255,0,true) else local x,y,z = getElementPosition(source) local r,b,g = getPlayerNametagColor(source) executeSQLQuery('UPDATE Statess SET Money = ?,Skin = ?,Health = ?,Armor = ?,R = ?,B = ?,G = ?,X = ?,Y = ?,Z = ?,Interior = ?,Dim = ?,Wanted = ?,weponID0 = ?,weponID1 = ?,weponID2 = ?,weponID3 = ?,weponID4 = ?,weponID5 = ?,weponID6 = ?,weponID7 = ?,weponID8 = ?,weponID9 = ?,weponID10 = ?,weponID11 = ?,weponID12 = ?,Ammo0 = ?,Ammo1 = ?,Ammo2 = ?,Ammo3 = ?,Ammo4 = ?,Ammo5 = ?,Ammo6 = ?,Ammo7 = ?,Ammo8 = ?,Ammo9 = ?,Ammo10 = ?,Ammo11 = ?,Ammo12 = ?,ACC = ?',getPlayerMoney(source),getElementModel(source),getElementHealth(source),getPedArmor(source),r,b,g,x,y,z,getElementInterior(source),getElementDimension(source),getPlayerWantedLevel(source),getPedWeapon(source,0),getPedWeapon(source,1),getPedWeapon(source,2),getPedWeapon(source,3),getPedWeapon(source,4),getPedWeapon(source,5),getPedWeapon(source,6),getPedWeapon(source,7),getPedWeapon(source,8),getPedWeapon(source,9),getPedWeapon(source,10),getPedWeapon(source,11),getPedWeapon(source,12),getPedTotalAmmo(source,0),getPedTotalAmmo(source,1),getPedTotalAmmo(source,2),getPedTotalAmmo(source,3),getPedTotalAmmo(source,4),getPedTotalAmmo(source,5),getPedTotalAmmo(source,6),getPedTotalAmmo(source,7),getPedTotalAmmo(source,8),getPedTotalAmmo(source,9),getPedTotalAmmo(source,10),getPedTotalAmmo(source,11),getPedTotalAmmo(source,12),getAccountName(getPlayerAccount(source))) outputChatBox('UPDATE',source,255,0,0,true) end end ) addEventHandler('onPlayerLogin',root, function() if (isGuestAccount(getPlayerAccount(source)) == false) then local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then return end setPlayerMoney(source,Check[1]['Money']) setElementModel(source,Check[1]['Skin']) setElementHealth(source,Check[1]['Health']) setPedArmor(source,Check[1]['Armor']) setPlayerNametagColor(source,Check[1]['R'],Check[1]['B'],Check[1]['G'],true) setElementInterior(source,Check[1]['Interior']) setElementDimension(source,Check[1]['Dim']) setPlayerWantedLevel(source,Check[1]['Wanted']) setElementPosition(source,Check[1]['X'],Check[2]['Y'],Check[3]['Z']) giveWeapon(source,Check[1]['weponID0'],Check[1]['Ammo0'],true) giveWeapon(source,Check[1]['weponID1'],Check[1]['Ammo1'],false) giveWeapon(source,Check[1]['weponID2'],Check[1]['Ammo2'],false) giveWeapon(source,Check[1]['weponID3'],Check[1]['Ammo3'],false) giveWeapon(source,Check[1]['weponID4'],Check[1]['Ammo4'],false) giveWeapon(source,Check[1]['weponID5'],Check[1]['Ammo5'],false) giveWeapon(source,Check[1]['weponID6'],Check[1]['Ammo6'],false) giveWeapon(source,Check[1]['weponID7'],Check[1]['Ammo7'],false) giveWeapon(source,Check[1]['weponID8'],Check[1]['Ammo8'],false) giveWeapon(source,Check[1]['weponID9'],Check[1]['Ammo9'],false) giveWeapon(source,Check[1]['weponID10'],Check[1]['Ammo10'],false) giveWeapon(source,Check[1]['weponID11'],Check[1]['Ammo11'],false) giveWeapon(source,Check[1]['weponID12'],Check[1]['Ammo12'],false) end end ) addEventHandler('onPlayerWasted',root, function() if (isGuestAccount(getPlayerAccount(source)) == false) then local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then return end giveWeapon(source,Check[1]['weponID0'],Check[1]['Ammo0'],true) giveWeapon(source,Check[1]['weponID1'],Check[1]['Ammo1'],false) giveWeapon(source,Check[1]['weponID2'],Check[1]['Ammo2'],false) giveWeapon(source,Check[1]['weponID3'],Check[1]['Ammo3'],false) giveWeapon(source,Check[1]['weponID4'],Check[1]['Ammo4'],false) giveWeapon(source,Check[1]['weponID5'],Check[1]['Ammo5'],false) giveWeapon(source,Check[1]['weponID6'],Check[1]['Ammo6'],false) giveWeapon(source,Check[1]['weponID7'],Check[1]['Ammo7'],false) giveWeapon(source,Check[1]['weponID8'],Check[1]['Ammo8'],false) giveWeapon(source,Check[1]['weponID9'],Check[1]['Ammo9'],false) giveWeapon(source,Check[1]['weponID10'],Check[1]['Ammo10'],false) giveWeapon(source,Check[1]['weponID11'],Check[1]['Ammo11'],false) giveWeapon(source,Check[1]['weponID12'],Check[1]['Ammo12'],false) end end )
-
اخرج من السيرفر عشان يحفظ بياناتك ثم سجل دخولك وبيظبط + مجربوا
-
تفضل executeSQLQuery('CREATE TABLE IF NOT EXISTS Statess (Money,Skin,Health,Armor,R,B,G,X,Y,Z,Interior,Dim,Wanted,weponID0,weponID1,weponID2,weponID3,weponID4,weponID5,weponID6,weponID7,weponID8,weponID9,weponID10,weponID11,weponID12,Ammo0,Ammo1,Ammo2,Ammo3,Ammo4,Ammo5,Ammo6,Ammo7,Ammo8,Ammo9,Ammo10,Ammo11,Ammo12,ACC)') addEventHandler('onPlayerQuit',root, function() local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then local x,y,z = getElementPosition(source) local r,b,g = getPlayerNametagColor(source) executeSQLQuery('INSERT INTO Statess (Money,Skin,Health,Armor,R,B,G,X,Y,Z,Interior,Dim,Wanted,weponID0,weponID1,weponID2,weponID3,weponID4,weponID5,weponID6,weponID7,weponID8,weponID9,weponID10,weponID11,weponID12,Ammo0,Ammo1,Ammo2,Ammo3,Ammo4,Ammo5,Ammo6,Ammo7,Ammo8,Ammo9,Ammo10,Ammo11,Ammo12,ACC) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)',getPlayerMoney(source),getElementModel(source),getElementHealth(source),getPedArmor(source),r,b,g,x,y,z,getElementInterior(source),getElementDimension(source),getPlayerWantedLevel(source),getPedWeapon(source,0),getPedWeapon(source,1),getPedWeapon(source,2),getPedWeapon(source,3),getPedWeapon(source,4),getPedWeapon(source,5),getPedWeapon(source,6),getPedWeapon(source,7),getPedWeapon(source,8),getPedWeapon(source,9),getPedWeapon(source,10),getPedWeapon(source,11),getPedWeapon(source,12),getPedTotalAmmo(source,0),getPedTotalAmmo(source,1),getPedTotalAmmo(source,2),getPedTotalAmmo(source,3),getPedTotalAmmo(source,4),getPedTotalAmmo(source,5),getPedTotalAmmo(source,6),getPedTotalAmmo(source,7),getPedTotalAmmo(source,8),getPedTotalAmmo(source,9),getPedTotalAmmo(source,10),getPedTotalAmmo(source,11),getPedTotalAmmo(source,12),getAccountName(getPlayerAccount(source))) outputChatBox('Saved',source,0,255,0,true) else local x,y,z = getElementPosition(source) local r,b,g = getPlayerNametagColor(source) executeSQLQuery('UPDATE Statess SET Money = ?,Skin = ?,Health = ?,Armor = ?,R = ?,B = ?,G = ?,X = ?,Y = ?,Z = ?,Interior = ?,Dim = ?,Wanted = ?,weponID0 = ?,weponID1 = ?,weponID2 = ?,weponID3 = ?,weponID4 = ?,weponID5 = ?,weponID6 = ?,weponID7 = ?,weponID8 = ?,weponID9 = ?,weponID10 = ?,weponID11 = ?,weponID12 = ?,Ammo0 = ?,Ammo1 = ?,Ammo2 = ?,Ammo3 = ?,Ammo4 = ?,Ammo5 = ?,Ammo6 = ?,Ammo7 = ?,Ammo8 = ?,Ammo9 = ?,Ammo10 = ?,Ammo11 = ?,Ammo12 = ?,ACC = ?',getPlayerMoney(source),getElementModel(source),getElementHealth(source),getPedArmor(source),r,b,g,x,y,z,getElementInterior(source),getElementDimension(source),getPlayerWantedLevel(source),getPedWeapon(source,0),getPedWeapon(source,1),getPedWeapon(source,2),getPedWeapon(source,3),getPedWeapon(source,4),getPedWeapon(source,5),getPedWeapon(source,6),getPedWeapon(source,7),getPedWeapon(source,8),getPedWeapon(source,9),getPedWeapon(source,10),getPedWeapon(source,11),getPedWeapon(source,12),getPedTotalAmmo(source,0),getPedTotalAmmo(source,1),getPedTotalAmmo(source,2),getPedTotalAmmo(source,3),getPedTotalAmmo(source,4),getPedTotalAmmo(source,5),getPedTotalAmmo(source,6),getPedTotalAmmo(source,7),getPedTotalAmmo(source,8),getPedTotalAmmo(source,9),getPedTotalAmmo(source,10),getPedTotalAmmo(source,11),getPedTotalAmmo(source,12),getAccountName(getPlayerAccount(source))) outputChatBox('UPDATE',source,255,0,0,true) end end ) addEventHandler('onPlayerLogin',root, function() if (isGuestAccount(getPlayerAccount(source)) == false) then local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then return end setPlayerMoney(source,Check[1]['Money']) setElementModel(source,Check[1]['Skin']) setElementHealth(source,Check[1]['Health']) setPedArmor(source,Check[1]['Armor']) setPlayerNametagColor(source,Check[1]['R'],Check[1]['B'],Check[1]['G'],true) setElementInterior(source,Check[1]['Interior']) setElementDimension(source,Check[1]['Dim']) setPlayerWantedLevel(source,Check[1]['Wanted']) setElementPosition(source,Check[1]['X'],Check[2]['Y'],Check[3]['Z']) giveWeapon(source,Check[1]['weponID0'],Check[1]['Ammo0'],true) giveWeapon(source,Check[1]['weponID1'],Check[1]['Ammo1'],false) giveWeapon(source,Check[1]['weponID2'],Check[1]['Ammo2'],false) giveWeapon(source,Check[1]['weponID3'],Check[1]['Ammo3'],false) giveWeapon(source,Check[1]['weponID4'],Check[1]['Ammo4'],false) giveWeapon(source,Check[1]['weponID5'],Check[1]['Ammo5'],false) giveWeapon(source,Check[1]['weponID6'],Check[1]['Ammo6'],false) giveWeapon(source,Check[1]['weponID7'],Check[1]['Ammo7'],false) giveWeapon(source,Check[1]['weponID8'],Check[1]['Ammo8'],false) giveWeapon(source,Check[1]['weponID9'],Check[1]['Ammo9'],false) giveWeapon(source,Check[1]['weponID10'],Check[1]['Ammo10'],false) giveWeapon(source,Check[1]['weponID11'],Check[1]['Ammo11'],false) giveWeapon(source,Check[1]['weponID12'],Check[1]['Ammo12'],false) end end ) addEventHandler('onPlayerWasted',root, function() if (isGuestAccount(getPlayerAccount(source)) == false) then local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then return end Player = source Timer = setTimer(function() giveWeapon(Player,Check[1]['weponID0'],Check[1]['Ammo0'],true) giveWeapon(Player,Check[1]['weponID1'],Check[1]['Ammo1'],true) giveWeapon(Player,Check[1]['weponID2'],Check[1]['Ammo2'],true) giveWeapon(Player,Check[1]['weponID3'],Check[1]['Ammo3'],true) giveWeapon(Player,Check[1]['weponID4'],Check[1]['Ammo4'],true) giveWeapon(Player,Check[1]['weponID5'],Check[1]['Ammo5'],true) giveWeapon(Player,Check[1]['weponID6'],Check[1]['Ammo6'],true) giveWeapon(Player,Check[1]['weponID7'],Check[1]['Ammo7'],true) giveWeapon(Player,Check[1]['weponID8'],Check[1]['Ammo8'],true) giveWeapon(Player,Check[1]['weponID9'],Check[1]['Ammo9'],true) giveWeapon(Player,Check[1]['weponID10'],Check[1]['Ammo10'],true) giveWeapon(Player,Check[1]['weponID11'],Check[1]['Ammo11'],true) giveWeapon(Player,Check[1]['weponID12'],Check[1]['Ammo12'],true) end,4000,1) end end ) ولو تسال ليش تايمر اشرحلك لما الاعب يموت ياخد وقت عشان يترسبن من جديد ولما يموت كل الاسلحه بتتسحب عشان كدا لما تعمل حدث الموت + اعطاء سلاح السلاح بيروح عشان كدا سويت تايمر ينتظر 4 ثواني من وقت موت الاعب ويعطية سلاح وكدا تظبط
-
زي ما قلتلك فوق سويها كدا executeSQLQuery('CREATE TABLE IF NOT EXISTS Statess (Money,Skin,Health,Armor,R,B,G,X,Y,Z,Interior,Dim,Wanted,weponID0,weponID1,weponID2,weponID3,weponID4,weponID5,weponID6,weponID7,weponID8,weponID9,weponID10,weponID11,weponID12,Ammo0,Ammo1,Ammo2,Ammo3,Ammo4,Ammo5,Ammo6,Ammo7,Ammo8,Ammo9,Ammo10,Ammo11,Ammo12,ACC)') addEventHandler('onPlayerQuit',root, function() local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then local x,y,z = getElementPosition(source) local r,b,g = getPlayerNametagColor(source) executeSQLQuery('INSERT INTO Statess (Money,Skin,Health,Armor,R,B,G,X,Y,Z,Interior,Dim,Wanted,weponID0,weponID1,weponID2,weponID3,weponID4,weponID5,weponID6,weponID7,weponID8,weponID9,weponID10,weponID11,weponID12,Ammo0,Ammo1,Ammo2,Ammo3,Ammo4,Ammo5,Ammo6,Ammo7,Ammo8,Ammo9,Ammo10,Ammo11,Ammo12,ACC) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)',getPlayerMoney(source),getElementModel(source),getElementHealth(source),getPedArmor(source),r,b,g,x,y,z,getElementInterior(source),getElementDimension(source),getPlayerWantedLevel(source),getPedWeapon(source,0),getPedWeapon(source,1),getPedWeapon(source,2),getPedWeapon(source,3),getPedWeapon(source,4),getPedWeapon(source,5),getPedWeapon(source,6),getPedWeapon(source,7),getPedWeapon(source,8),getPedWeapon(source,9),getPedWeapon(source,10),getPedWeapon(source,11),getPedWeapon(source,12),getPedTotalAmmo(source,0),getPedTotalAmmo(source,1),getPedTotalAmmo(source,2),getPedTotalAmmo(source,3),getPedTotalAmmo(source,4),getPedTotalAmmo(source,5),getPedTotalAmmo(source,6),getPedTotalAmmo(source,7),getPedTotalAmmo(source,8),getPedTotalAmmo(source,9),getPedTotalAmmo(source,10),getPedTotalAmmo(source,11),getPedTotalAmmo(source,12),getAccountName(getPlayerAccount(source))) outputChatBox('Saved',source,0,255,0,true) else local x,y,z = getElementPosition(source) local r,b,g = getPlayerNametagColor(source) executeSQLQuery('UPDATE Statess SET Money = ?,Skin = ?,Health = ?,Armor = ?,R = ?,B = ?,G = ?,X = ?,Y = ?,Z = ?,Interior = ?,Dim = ?,Wanted = ?,weponID0 = ?,weponID1 = ?,weponID2 = ?,weponID3 = ?,weponID4 = ?,weponID5 = ?,weponID6 = ?,weponID7 = ?,weponID8 = ?,weponID9 = ?,weponID10 = ?,weponID11 = ?,weponID12 = ?,Ammo0 = ?,Ammo1 = ?,Ammo2 = ?,Ammo3 = ?,Ammo4 = ?,Ammo5 = ?,Ammo6 = ?,Ammo7 = ?,Ammo8 = ?,Ammo9 = ?,Ammo10 = ?,Ammo11 = ?,Ammo12 = ?,ACC = ?',getPlayerMoney(source),getElementModel(source),getElementHealth(source),getPedArmor(source),r,b,g,x,y,z,getElementInterior(source),getElementDimension(source),getPlayerWantedLevel(source),getPedWeapon(source,0),getPedWeapon(source,1),getPedWeapon(source,2),getPedWeapon(source,3),getPedWeapon(source,4),getPedWeapon(source,5),getPedWeapon(source,6),getPedWeapon(source,7),getPedWeapon(source,8),getPedWeapon(source,9),getPedWeapon(source,10),getPedWeapon(source,11),getPedWeapon(source,12),getPedTotalAmmo(source,0),getPedTotalAmmo(source,1),getPedTotalAmmo(source,2),getPedTotalAmmo(source,3),getPedTotalAmmo(source,4),getPedTotalAmmo(source,5),getPedTotalAmmo(source,6),getPedTotalAmmo(source,7),getPedTotalAmmo(source,8),getPedTotalAmmo(source,9),getPedTotalAmmo(source,10),getPedTotalAmmo(source,11),getPedTotalAmmo(source,12),getAccountName(getPlayerAccount(source))) outputChatBox('UPDATE',source,255,0,0,true) end end ) addEventHandler('onPlayerLogin',root, function() if (isGuestAccount(getPlayerAccount(source)) == false) then local Check = executeSQLQuery('SELECT * FROM Statess WHERE ACC = ?',getAccountName(getPlayerAccount(source))) if (#Check == 0 or not Check) then return end setPlayerMoney(source,Check[1]['Money']) setElementModel(source,Check[1]['Skin']) setElementHealth(source,Check[1]['Health']) setPedArmor(source,Check[1]['Armor']) setPlayerNametagColor(source,Check[1]['R'],Check[1]['B'],Check[1]['G']) setElementInterior(source,Check[1]['Interior']) setElementDimension(source,Check[1]['Dim']) setPlayerWantedLevel(source,Check[1]['Wanted']) setElementPosition(source,Check[1]['X'],Check[2]['Y'],Check[3]['Z']) giveWeapon(source,Check[1]['weponID0'],Check[1]['Ammo0'],true) giveWeapon(source,Check[1]['weponID1'],Check[1]['Ammo1'],false) giveWeapon(source,Check[1]['weponID2'],Check[1]['Ammo2'],false) giveWeapon(source,Check[1]['weponID3'],Check[1]['Ammo3'],false) giveWeapon(source,Check[1]['weponID4'],Check[1]['Ammo4'],false) giveWeapon(source,Check[1]['weponID5'],Check[1]['Ammo5'],false) giveWeapon(source,Check[1]['weponID6'],Check[1]['Ammo6'],false) giveWeapon(source,Check[1]['weponID7'],Check[1]['Ammo7'],false) giveWeapon(source,Check[1]['weponID8'],Check[1]['Ammo8'],false) giveWeapon(source,Check[1]['weponID9'],Check[1]['Ammo9'],false) giveWeapon(source,Check[1]['weponID10'],Check[1]['Ammo10'],false) giveWeapon(source,Check[1]['weponID11'],Check[1]['Ammo11'],false) giveWeapon(source,Check[1]['weponID12'],Check[1]['Ammo12'],false) end end )
-
شئ بسيط واسهلك هو تسوية بالسكل
-
لا ليهم تفضل https://wiki.multitheftauto.com/wiki/AR/الصفحه_الرئيسيه ودا تعديل المثال local Names = { ['a'] = 'A', ['m'] = 'M', ['n'] = 'N', } addCommandHandler("gsub", function (source) for i,v in pairs(Names) do local name = getPlayerName(source) if ( string.find(name,i) ) then name = string.gsub(name,i,v) setPlayerName(source,name) end end end )
-
لا بيالف من كيسو هههههههههههههههههههههههههههههههههههء
-
من كيسك دي onClientPlayerCommand اول مرا اسمع عنوا حتي الويكي ما سمع عنوا ض2 دا الصح يا اخ onPlayerCommand
-
افهمك وش معناهم string.upper دي تخليلك الحروف كابيتل يعني مكبرة مثل كدا local x = 'a' print(string.upper(x)) النتيجه هتبقي A و string.lower دي عكس اللي قبليها تخليلك الحروف مصغرة مثال local y = 'A' print(string.lower(y)) a النتيجه هتبقي يارب تكون المعلومة وصلت
-
لو مش مركب تاجات حتي لو انتا مصكوك ميوت الايفينت حق onPlayerChat بيتكنسل تلقائي عشان كدا عدل الرسالة من ملفات اللعبه نفسها علي حسب تجربتي والله اعلم
-
ولا تنسي من كم اسبوع كنت تبي تعرف وش معني SetElementRotation هههههههههههههههههههههههههههههههههههههههههه حتي نسور طفش منك وقالهالك هذا الموضوع فقط للإستفسار عن اشياء بسيطة في البرمجة وليس لطلب الاكواد هههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه
-
بيكون كذا تفضل timer = setTimer( function () end, 10000, 0) setTimer( function() if isTimer(timer) then local timerMission = math.floor(getTimerDetails(timer) / 1000) setElementData(resourceRoot,'Timer',timerMission) else setElementData(resourceRoot,'Timer','Timer End') end end, 50, 0 )
-
-- Client addEventHandler("onClientRender", root, function() dxDrawText(tostring(getElementData(resourceRoot,'Timer')), 153, 304, 308, 371, tocolor(255, 255, 255, 255), 2.00, "default", "left", "top", false, false, false, false, false) end ) -- Server timer = setTimer( function () end, 10000, 1 ) setTimer( function() if isTimer(timer) then local timerMission = math.floor(getTimerDetails(timer) / 1000) setElementData(resourceRoot,'Timer',timerMission) else setElementData(resourceRoot,'Timer','Timer End') end end, 50, 0 )
-
اخ كل لما ادخل المنتدي احس باحباط واحس كلوا ترك البرمجه