Jump to content

iyaad

Members
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by iyaad

  1. تبي الكلام يطلع فوق الاعب بداخل مربع ؟؟ اخي وضح بالله حتى الصورة مو موضحه شي
  2. 8/10 Rowال2 راحو على حجم ال بس فعلاً انك مبدع مع تمنياتي لك بالابداع
  3. dxGridTre = { items = {} } IyaaD = true function dxGridTre:Mack ( x, y, wa, he, GUI ) local prot = { xx = IyaaD and (x * X) or x yy = IyaaD and (y * Y) or y ww = IyaaD and (wa * X) or wa gud = GUI or false; Nm = {} r = -1 rt = -1 st = nil vsd = true h = IyaaD and (he * Y) or he de = nil; rt = Sizmer (IyaaD and (he * Y) or he) hr = 1 } setmetatable ( prot, { __index = dxGridTre } ) table.insert ( dxGridTre.items, prot ) end function Sizmer ( he ) for Nm = 0, 5000 do if ( Nm+1*20 ) >= math.floor (he) then return (Nm+1*20) > math.floor (he) and (Nm-1) or Nm end end return false end زبطت معي صناعت جريد ليست بس طولت شوي Super Script وانا انتضر جريد الخاص بك لاني احس انها رح تكون افضل كونك مبرمج مودات عليه هذا يعني انها
  4. أخي سوكينق ما اظن يزبط الكود حقك ومود حفظ الاسلحة يحفظ اصلاً الخلاطات بصير لخبطه فلهذا حسب ظني ما رح يزبط
  5. انا ما قلت خربان انا قلت اخطأ يعني Bad arguments
  6. انت كيف عامل ستدعاء للفنكشن وانت اصلاً بافتكشن --by #GMG function STARTMissions() if not isTimer(startMission1) then startMission1 = setTimer(function() NameMission() -- مكان الاسم ذا ملف المود حق المهمة startMission2 = setTimer(function() Name Mission() -- مكان الاسم ذا ملف المود حق المهمة startMission3 = setTimer(function() Name Mission() -- مكان الاسم ذا ملف المود حق المهمة STARTMissions() end, 30*60*1000, 1) -- Name Mission end, 30*60*1000, 1) -- Name Mission end, 30*60*1000, 1) -- Name Mission end, 1000, 1) -- اول مهمة .. end end واانت تحت حاط addEvent("STARTMissions",true) addEventHandler("STARTMissions",root,STARTMissions) addEventHandler("onResourceStart", getResourceRootElement( getThisResource( ) ), STARTMissions) فالنفترض انو ركب الاكود ذي على كل المهمات لما يشغل المهمات رح يلاحظ انو كل المهمات تشتغل مع بعض فلهذا المفروض يعطل ال addEventHandler("onResourceStart", getResourceRootElement( getThisResource( ) ), STARTMissions) لكل المهمات الى اول مهمة مشان يتنضمن الى في سوا كل المهمات تشتغل في فنكشن واحد
  7. addEventHandler("onPlayerQuit", root, function() local account = getPlayerAccount(source) if account and not isGuestAccount(account) then for slot = 2, 6 do setAccountData(account, "WeaponID"..slot, getPedWeapon(source, slot)) setAccountData(account, "Ammo"..slot, getPedTotalAmmo(source, slot)) end end end); addEventHandler("onPlayerLogin", root, function(_, account) for slot = 2, 6 do local wep = getAccountData(account, "WeaponID"..slot) local ammo = getAccountData(account, "Ammo"..slot) if wep and ammo then giveWeapon(source, wep, ammo) end end end); addEventHandler("onPlayerWasted", root, function() local account = getPlayerAccount(source) if account and not isGuestAccount(account) then for slot = 2, 6 do setAccountData(account, "WeaponID"..slot, getPedWeapon(source, slot)) setAccountData(account, "Ammo"..slot, getPedTotalAmmo(source, slot)) end end end) addEventHandler("onPlayerSpawn", root, function() local account = getPlayerAccount(source) if account and not isGuestAccount(account) then for slot = 2, 6 do local wep = getAccountData(account, "WeaponID"..slot) local ammo = getAccountData(account, "Ammo"..slot) if wep and ammo then giveWeapon(source, wep, ammo) end end end end) حفظ اسلحة من الايدي 2 الى 6 مو من 1 الى 12 https://wiki.multitheftauto.com/wiki/Weapons
  8. [LB]أخي ما يمديك تخلي ال بس ما تظهر يمديك تخلي اسمك كلو ما يظهر
  9. أخي اكتب بشات كلمة /debugscript 3 وقلي وش الكلام الي يطلعلك اياه باللون الحمر والبرتقالي اسفل الشاشة مشان احلك مشكلتو
  10. ما تقدر أخي لانك حاطها من الاعدادات أذا تبي اسمك كلو ما يضهر
  11. [LB] هي جزء من اسمك بالاصل ولا المود يحطها ؟
  12. بتاج ؟؟[LB] ما تبي يظهر
  13. الكود ذا بمود اف1 اول شي قبل ما نصير نفسر لانو ما شاء الله الشباب عطوك اكواد كفو مرة بس انت تقول مو زابطه أذا مو باف1 الكود ذا سوي روح على ملف الاكواد ذي سوي tMarker = createMarker(264.28564, 77.35513, 1000.03906 , "cylinder", 4, 255, 255, 255, 255) setElementDimension(tMarker, 144) setElementInterior(tMarker, 5) function JailHit(player) if source == tMarker then if player and getElementType(player) == "player" and not isPedInVehicle(player) then if getElementData(player, "Jail") or getElementData(player, "Jail") == "Jailed" then setElementPosition(player, 264.28564, 77.35513, 1001.03906) outputChatBox("! ERROR ! : don't try to escape from the prison", player, 255, 0, 0) end end end end ) addEventHandler("onMarkerLeave", resourceRoot, JailHit) استعرت اكوادك يا احمد 09 اعذرني @#x1AhMeD,-09 بعدها روح على الMeta.xml حط <export function="JailHit" [ type="client/server" ] /> <!-- [] الي جوا انت مخير فيهم اذا ما بدك اياهم شيلهم --> وقتها تستدعي الفنكشن ذا NameMod = اسم المود exports.NameMod:JailHit() اتمنى تكون فمت علي
  14. F8 - debugscript 3 لا تكتب بعدها مسافة او شي لانو لو تكتب حرف او شي ما تشتغل او اكتب بشات /debugscript 3
  15. local playerMute = { } addEvent("MuteR", true) addEventHandler("MuteR", root, function (playerN,Reason,Time, Type, Int) local toPlayer = getPlayerFromName(playerN) if toPlayer ~= false then local duration = tonumber(Time) * tonumber(Int) setElementData(toPlayer, "playerMute", true) setElementData(toPlayer, "MuteReason", Reason) setElementData(toPlayer, "MuteBy", getPlayerName(source)) setElementData(toPlayer, "MuteTime", getTimeLeft(playerMute[toPlayer])) outputChatBox(root, "* #FFFFFF"..getPlayerName(toPlayer).." #FF0000 Has Been Muted From Support Chat By #e1e1e1"..getPlayerName(source).."#FF0000 ("..Time.." "..Type..") !",255,0,0) outputChatBox(toPlayer, "* #FF0000Reason : "..Reason.."",255,0,0) end end) --- client Said local player = getLocalPlayer() function mutePlayer(playerN, Reason, Time, Type) if not playerN then return end if not Reason then Reason = "No Reason" end if not Time then Time = 60 end if not Type then Type = "Min" end local Int if Type == "Sec" then Int = 1000 elseif Type == "Min" then Int = 60000 elseif Type == "Hour" then Int = 3600000 elseif Type == "Day" then Int = 86400000 end triggerServerEvent("MuteR", localPlayer, playerN, Reason, Time, Type, Int) end اربط الكواد بمودك وعرف الداتا باللوحة انا كاتب الاكواد من الجوال اظن في شويت اخطأ املائية
  16. addEvent("mezstart", true) -- ???
  17. شوف اخي سوي فنكشن يطلع الاعبين المتواجدين بسيرفر حالياً وبعدها سوي local Money = المبلغ الي باليدت اربطو local OnlinePlayer = الفنكشن حق الاعبين المتواجدين local MoneyPerOnline = math.floor((Money*X)/#OnlinePlayer); givePlayerMoney(root, MoneyPerOnline) outputChatBox(root, " لقد حصلت على " .. MoneyPerOnline .. "", 255, 255, 255)
  18. شوف اخي في لحلين عندي يمكن مشكلة من لوحة التسجيل حقتك الي مركبها على السيرفر او في ملفين في الاستضافة اسمهم internal registry موجوودات عند الأسل روح لهم واحذفهم وروح على لعبتك وروح على الاسل حقها وانسخهمم وحطهم بالاستضافة وسوي ريستارت للسيرفر أذا غير هيك مشكلة من سيررفرك بكون مودااتك يعني وان شاء الله تنحل مشكلتك
  19. أخي أذا انا قللت ادبي معك وانا مو عارف اعتذر منك ولكن هذهي لهجتي ولما ييجي صاحب الموضوع يقرأ الردود ويحكم وهو يقلك جالس تظهر عند الخيارات الشصخية فوق وانا اشوف اكوادك ما تظهر الفلوس فوق على اليمين
  20. يا رجال روح اقرا موضوعو هو يب يبي الداتا تتغير لفلوس ويبيها تنحسب فوق عندك بس انتم تتأكدو من الفلوس ما تحولوها يعني ما تعد عندو
  21. بس هو كودك يعمل نفس وظيفة احمد09 هو الشخص يبي انو يعد الفلوس فوق الشاشة على اليمين عند الاسلحة والنجوم هناك لازم الفلوس تعد انتم تحولو الداتا وتتحققو
  22. if not isElement(args[1])or getEelemntType(args[1])~='player' then return end قيمة ال getEelemntType = nill خطأ املائي من مشيها لك ضض getElementType
  23. طيب تمام انا معك بحكيك بس انت الحين لو يوزعو داتا فلوس مثلاً 500 تمام ؟ الان هو رح يفكرهم وهمية لانهم ما رح ينحسبو عند فوق مع الفلوس
  24. بس على طريقتك ذي ما رح يحسبو الفلوس فوق على يمين الشاشة يعني لو وزع 100الف ما رح تظهر فوق عند الفلوس
×
×
  • Create New...