Jump to content

SWAT-M7MD

Members
  • Posts

    15
  • Joined

  • Last visited

SWAT-M7MD's Achievements

Square

Square (6/54)

0

Reputation

  1. addEventHandler("onPlayerWasted",root,saveWeaponsOnWasted) function loadWeaponsOnSpawn() local account = getPlayerAccount(source) local weapon0 = getAccountData(account,"weapon0") local weapon1 = getAccountData(account,"weapon1") local weapon2 = getAccountData(account,"weapon2") local weapon3 = getAccountData(account,"weapon3") local weapon4 = getAccountData(account,"weapon4") local weapon5 = getAccountData(account,"weapon5") local weapon6 = getAccountData(account,"weapon6") local weapon7 = getAccountData(account,"weapon7") local weapon8 = getAccountData(account,"weapon8") local weapon9 = getAccountData(account,"weapon9") local weapon10 = getAccountData(account,"weapon10") local weapon11 = getAccountData(account,"weapon11") local weapon12 = getAccountData(account,"weapon12") local ammo0 = getAccountData(account,"ammo0") local ammo1 = getAccountData(account,"ammo1") local ammo2 = getAccountData(account,"ammo2") local ammo3 = getAccountData(account,"ammo3") local ammo4 = getAccountData(account,"ammo4") local ammo5 = getAccountData(account,"ammo5") local ammo6 = getAccountData(account,"ammo6") local ammo7 = getAccountData(account,"ammo7") local ammo8 = getAccountData(account,"ammo8") local ammo9 = getAccountData(account,"ammo9") local ammo10 = getAccountData(account,"ammo10") local ammo11 = getAccountData(account,"ammo11") local ammo12 = getAccountData(account,"ammo12") if (weapon0) and (weapon1) and (weapon2) and (weapon3) and (weapon4) and (weapon5) and (weapon6) and (weapon7) and (weapon8) and (weapon9) and (weapon10) and (weapon11) and (weapon12) and (ammo0) and (ammo1) and (ammo2) and (ammo3) and (ammo4) and (ammo5) and (ammo6) and (ammo7) and (ammo8) and (ammo9) and (ammo10) and (ammo11) and (ammo12) then giveWeapon(source,weapon0,ammo0) giveWeapon(source,weapon1,ammo1) giveWeapon(source,weapon2,ammo2) giveWeapon(source,weapon3,ammo3) giveWeapon(source,weapon4,ammo4) giveWeapon(source,weapon5,ammo5) giveWeapon(source,weapon6,ammo6) giveWeapon(source,weapon7,ammo7) giveWeapon(source,weapon8,ammo8) giveWeapon(source,weapon9,ammo9) giveWeapon(source,weapon10,ammo10) giveWeapon(source,weapon11,ammo11) giveWeapon(source,weapon12,ammo12) end end addEventHandler("onPlayerSpawn",root,loadWeaponsOnSpawn) صحيح انو يحفظ الاسلحة بس لما اموت عم يتكرر الرصاص الضعف ممكن حل انا حاولت
  2. salhMark = createMarker (108.4, 421.5, 1.7,'cylinder',2.0, 255, 0, 0, 0) addEventHandler("onClientMarkerHit",salhMark, function ( hitMarker ) if isPedInVehicle ( hitMarker ) then local vehicle = getPedOccupiedVehicle(hitMarker) if ( vehicle ) then setElementPosition(vehicle, 106.6, 405.99, 1.76) end end end ابي لو شخص دخل للماركر و هو بسيارة بيروح لاحداثيات معينة ساعدوني ناس امبارح بس ما اشتغل
  3. ابي لون مختفي لماركر بحيث انو ما يقدر يوشفه اي لاعب
  4. local x,y,z = 406.241,104.305,3.76 marker8 = createMarker(31.08945,355.62836,0.26875,'cylinder',1.3,254, 126, 0, 255) addEventHandler("onClientMarkerHit",marker8, function( ) if isPedInVehicle(hitElement) then local vehicle = getPedOccupiedVehicle(hitElement) if vehicle then setElementPosition(vehicle, x,y,z) setElementFrozen(vehicle, true) setTimer(function( ) setElementFrozen(vehicle, false) end,6000,1,hitElement) end end end end ابي لو شخص دخل للماركر و هو بسيارة السيارة تنتقل للاحداثيات اللي انا مسويها
  5. السلام عليكم عيد مبارك على الكل عم اعاني من مشكلة و هي انو السيرفر بيتوقف عن العمل احيانا و انا مسوي تجديد و كل شي تمام معي سيرفر هجوله و انا تعبت و انا ارستر المودات من جديد و تقريبا هاذ الشي يحصلي مرة كل اسبوع و هاذ الخطأ من الادارة حق الاستضافة و كل الناس بتعاني منه يرجى من طاقم الادارة اصلاح الخطأ رجاءا و شكرا و اللي عنده اقتراح او حل لهاي المشكلة يقلي @Micro
  6. خلاص المود اشتغل عندي كنت اقصد الباراشوت اللي يقفزون منه من فوق السطح و يفتحونه
  7. ابي لو شخص يخش الماركر بيعطيه باراشوت و يعطيه فلوس و يعطيه سلاب createMarker(-4066.45435,3843.41870,0.26875,'cylinder',1.3,144, 276, 0, 200) addEventHandler("onClientMarkerHit", function ( ) killPed ( localPlayer ) givePlayerMoney(localPlayer,10000) givePedWeapon(ped, 46, 1000, true) end )
  8. ابي 3 صور تضهر ف 3 احداثيات و ما ادري ليش كودي ما اشتغل انا مسوي المود كلنت فقط addEventHandler("onClientRender",getRootElement(), function() local dr32 = dxCreateTexture("Gang1.png") addEventHandler( "onClientRender", root, function ( ) local x, y, z = 34.83220,382.35397,2.76875 dxDrawMaterialLine3D(x, y, z+3.6, x, y, z+2, dr32, 2.5, tocolor(255,255,255,255)) end ) addEventHandler("onClientRender",getRootElement(), function() local dr32 = dxCreateTexture("Gang2.png") addEventHandler( "onClientRender", root, function ( ) local x, y, z = 196.19046020508, 1916.88671875, 80.6 dxDrawMaterialLine3D(x, y, z+3.6, x, y, z+2, dr32, 2.5, tocolor(255,255,255,255)) end ) addEventHandler("onClientRender",getRootElement(), function() local dr32 = dxCreateTexture("Mafia1.png") addEventHandler( "onClientRender", root, function ( ) local x, y, z = 197.19046020508, 1915.88671875, 80.6 dxDrawMaterialLine3D(x, y, z+3.6, x, y, z+2, dr32, 2.5, tocolor(255,255,255,255)) end )
  9. طيب اناا سويت الكود على ملف الماب و ما اشتغل !! انا بدي الاوبجيكت رقم 1649 ما تتكسر
  10. 1649 طيب انا بدي الفنكشن رقم ما يتكسر ما اشتغل مو شغال
  11. function () for _,i in ipairs ( getElementsByType("object")) do setObjectBreakable(i, false) --- end end ابي اعرف ليش الكود ما يشتغل بدي اسوي الاوبجيكت اللي في السيرفر ما تتكسر ما العلم انو الملف كلنت
  12. سلام عليكم في مود منشور يضهرلك علمك فقط في التاب بس الحين نسيته اذا في احد يعرفه يعطيني الرابط
  13. انا ابي اسوي البيد اللي ف كل السرفر مو واحد فقط
  14. addEventHandler("onClientPedDamage",resourceRoot, function ( ) if ped then cancelEvent() end ) عم احاول اسوي كود يخلي البيد اللي في السيرفر ما يقتلهم الاعبين بس ما زبطت معي
×
×
  • Create New...