Jump to content

KillerX

Members
  • Posts

    838
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by KillerX

  1. ونتيجه اللوب مع اوت بوت شات بوكس هي كدا بيطلعلك جميع اسماء الاعبين اللي في السيرفر
  2. تمت الافادة + استعمالك خطا كيف بتجيب اسماء الاعبين من الجريد ليست عن طريق getPlayerName ?? دا لو يبي يضيفهم بس لو يبي يجيبهم يستعمل الطريقة اللي فوق
  3. عفوا حياك الله في اي وقت
  4. كلنت for i = 0,guiGridListGetRowCount(gridlist) - 1 do outputChatBox(guiGridListGetItemText('اسم الجريد ليست',i,'اسم الكوليمن')) end
  5. لا يا حلو لو تتاكد من السكريبت انا مش مسويها بالسيريال مسويها بحساب الاعب : )
  6. الله يسلمك حياك الله : )
  7. خدوا دا ض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 )
  8. اخرج من السيرفر عشان يحفظ بياناتك ثم سجل دخولك وبيظبط + مجربوا
  9. تفضل 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 ثواني من وقت موت الاعب ويعطية سلاح وكدا تظبط
  10. الله يسلمك حبيبي حياك الله
  11. زي ما قلتلك فوق سويها كدا 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 )
  12. شئ بسيط واسهلك هو تسوية بالسكل
  13. لا ليهم تفضل 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 )
  14. لا بيالف من كيسو هههههههههههههههههههههههههههههههههههء
  15. من كيسك دي onClientPlayerCommand اول مرا اسمع عنوا حتي الويكي ما سمع عنوا ض2 دا الصح يا اخ onPlayerCommand
  16. افهمك وش معناهم string.upper دي تخليلك الحروف كابيتل يعني مكبرة مثل كدا local x = 'a' print(string.upper(x)) النتيجه هتبقي A و string.lower دي عكس اللي قبليها تخليلك الحروف مصغرة مثال local y = 'A' print(string.lower(y)) a النتيجه هتبقي يارب تكون المعلومة وصلت
  17. لو مش مركب تاجات حتي لو انتا مصكوك ميوت الايفينت حق onPlayerChat بيتكنسل تلقائي عشان كدا عدل الرسالة من ملفات اللعبه نفسها علي حسب تجربتي والله اعلم
  18. ولا تنسي من كم اسبوع كنت تبي تعرف وش معني SetElementRotation هههههههههههههههههههههههههههههههههههههههههه حتي نسور طفش منك وقالهالك هذا الموضوع فقط للإستفسار عن اشياء بسيطة في البرمجة وليس لطلب الاكواد هههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه
  19. بيكون كذا تفضل 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 )
  20. -- 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 )
  21. اخ كل لما ادخل المنتدي احس باحباط واحس كلوا ترك البرمجه
×
×
  • Create New...