Jump to content

xBeSoOo_

Members
  • Posts

    83
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by xBeSoOo_

  1. هي الفكرة من اني اسوي مود صعب اني اتدرب بس لان انا متعلم برمجة من ٢٠١٥ وقعد سنتين ابرمج بعد كدا قطعت ورجعت دلوقتي فعندي خبرة
  2. ازاي شئ زي دا يتعمل في اللعبة وما هي المتطلبات لان مخي حصل فيه ايرور + محتاج افكار مودات تكون صعبة اعملها كتدريب بحيث اني أطور مستوايا و بطرحها في قسم المساهمات لما انتهي منها حبيت احط موضوعين في واحد عشاني عملت يجي ٣ مواضيع في يوم تقريبا
  3. شكرا علي المساعدة يا شباب والله افدتوني
  4. شباب انا دلوقتي تايه في ال metatable و ال oop ومش فاهم منهم اي شئ ولا عندي فكرة ايه هم لو احد عنده شرح مفهوم لهم سواء انجليزي أو عربي بس يكون يشرح أساس الموضوع
  5. طيب لو وصلت للطريقة قول لي لاني متعلم html و css ونفسي استخدمهم في اللعبة من زمان
  6. بس تقدر تصمم بيها لوحات ؟؟
  7. من الأشياء الي بتغير اللعبة بشكل كبير و نفسي أنها تنضاف هي html و css علي سبيل المثال fiveM بتاع GTA v يستخدموا في برمجة الاسكربتات javascript و html و css و Lua
  8. شكرا شاطح وشكرا للشباب الي ردوا فهمت الحمدلله
  9. دي useful function يعني بتاخد الكود الي مكتوب حق الوظيفة وبتحطه في الملف عندك وتستدعي الوظيفة علي الرقم الي تبقي تحط فيه فواصل دا كود الوظيفة function formatNumber(number) while true do number, k = string.gsub(number, "^(-?%d+)(%d%d%d)", '%1,%2') if k==0 then break end end return number end
  10. شرح جميل جدا ومفيد للمبتدئين بس كان ممكن تضيف طريقة استدعاء الفنكشن عشان الناس تفهم وش الفائدة من وضع argument الفنكشن
  11. ما وصلتني الفكرة لسة
  12. تمام طيب فيه كدا بردو دا ايه استخدامه أو كيف بيستخدم اساسا local tb = {} function tb.give() -- دي وش وظيفتها وكيف يتم . . end
  13. شباب عايز شرح لعمل وظيفة داخل جدول و ايه فائدتها وطريقة التحكم فيها
  14. شباب انا انصكيت قبل واتهموني اني واحد اسمه سي جي ومدري وش وكل ذا عشان سجلت في المنتدي عشان اتعلم البرمجة انا بس اسال سؤال واحد هو عشان اسجل في المنتدي انصك باند في اللعبة ؟ صورة من الراسلة الي تتطلعلي ابي حل جزري للمشكلة ذي عشان مو كل شوية اجلس انصك باند انا
  15. مشكور طلع فيه قوس زيادة ههههههههههههههههههههه يخي انرفع ضغطي
  16. السلام عليكم يا عيال الحين انا عندي مشكلة اني سويت مود شوب المود عبارة عن لوحة اساسية فيها متفرقات يعني Handguns = مسدسات انا سويت اللوحة الاولة + ان الشوب كله لوحات dx المهم سويت اللوحة الاولة وصارت تفتح لما اخش الماركر وتقفل من زر close لما ضفت لوحة ثانية فيها المسدسات عشان تفتح لما اضغط handguns في اللوحة الاساسية لما ضفتها خرب المود وما صار تظهر الماركر ولا شي الحين ابي احد يحل لي المشكلة ذي ضروري عشان ذا اول مود لي الكود كلينت GUIEditor = { label = {}, staticimage = {} } local screenW, screenH = guiGetScreenSize() GUIEditor.staticimage[1] = guiCreateStaticImage(screenW - 163 - 10, (screenH - 494) / 2, 163, 494, "images/wnd.png", false) GUIEditor.label[1] = guiCreateLabel(11, 55, 142, 30, "Handguns", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") GUIEditor.label[2] = guiCreateLabel(10, 119, 142, 30, "Shotguns", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 254, 0, 251) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.label[3] = guiCreateLabel(11, 186, 142, 30, "Sub-machine guns", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 0, 5, 254) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") GUIEditor.label[4] = guiCreateLabel(10, 253, 142, 30, "Machine guns", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 0, 254, 245) guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[4], "center") GUIEditor.label[5] = guiCreateLabel(10, 323, 142, 30, "Rifles", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 0, 254, 5) guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.label[6] = guiCreateLabel(11, 394, 142, 30, "Projectiles", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 251, 0) guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[6], "center") GUIEditor.label[7] = guiCreateLabel(3, 1, 159, 15, "Weapon Shop", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[7], "clear-normal") guiLabelSetColor(GUIEditor.label[7], 12, 253, 0) guiLabelSetHorizontalAlign(GUIEditor.label[7], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[7], "center") GUIEditor.label[8] = guiCreateLabel(11, 454, 142, 30, "Close", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 126, 126, 126) guiLabelSetHorizontalAlign(GUIEditor.label[8], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[8], "center") addEventHandler( "onClientResourceStart", getRootElement( ), function () if guiGetVisible(GUIEditor.staticimage[1]) == false then guiSetVisible(GUIEditor.staticimage[1], false) showCursor(false) else guiSetVisible(GUIEditor.staticimage[1], false) showCursor(false) end end ) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.label[8] then if ( guiGetVisible(GUIEditor.staticimage[1]) == false) then end guiSetVisible (GUIEditor.staticimage[1], false) showCursor(false) guiSetInputEnabled(false) end end ) local theMarker = createMarker ( 2487.92212, -1666.64771, 12.34375, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler ( "onClientMarkerHit", getRootElement(), function () if source == theMarker then if ( guiGetVisible(GUIEditor.staticimage[1]) == true) then end guiSetVisible (GUIEditor.staticimage[1], true) showCursor(true) guiSetInputEnabled(true) end end ) GUIEditor.staticimage[2] = guiCreateStaticImage((screenW - 417) / 2, (screenH - 239) / 2, 417, 239, "images/wnd.png", false) GUIEditor.label[9] = guiCreateLabel(34, 113, 100, 23, "Buy 50 For $500", false, GUIEditor.staticimage[2]) guiLabelSetHorizontalAlign(GUIEditor.label[9], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[9], "center") GUIEditor.label[10] = guiCreateLabel(155, 113, 100, 23, "Buy 200 For $300", false, GUIEditor.staticimage[2]) guiLabelSetHorizontalAlign(GUIEditor.label[10], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[10], "center") GUIEditor.label[11] = guiCreateLabel(280, 113, 100, 23, "Buy 200 For $200", false, GUIEditor.staticimage[2]) guiLabelSetHorizontalAlign(GUIEditor.label[11], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[11], "center") GUIEditor.label[12] = guiCreateLabel(307, 206, 100, 23, "Close", false, GUIEditor.staticimage[2]) guiLabelSetColor(GUIEditor.label[12], 127, 127, 127) guiLabelSetHorizontalAlign(GUIEditor.label[12], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[12], "center") GUIEditor.label[13] = guiCreateLabel(2, 0, 415, 19, "", false, GUIEditor.staticimage[2]) GUIEditor.label[14] = guiCreateLabel(0, 1, 415, 18, "HandGuns", false, GUIEditor.label[13]) guiLabelSetHorizontalAlign(GUIEditor.label[14], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[14], "center") GUIEditor.staticimage[3] = guiCreateStaticImage(34, 34, 100, 65, "images/8.png", false, GUIEditor.staticimage[2]) GUIEditor.staticimage[4] = guiCreateStaticImage(155, 34, 100, 65, "images/9.png", false, GUIEditor.staticimage[2]) GUIEditor.staticimage[5] = guiCreateStaticImage(276, 36, 104, 63, "images/10.png", false, GUIEditor.staticimage[2]) addEventHandler( "onClientResourceStart", getRootElement( ), function () if guiGetVisible(GUIEditor.staticimage[2]) == false then guiSetVisible(GUIEditor.staticimage[2], false) showCursor(false) end end ) addEventHandler ("onClientGUIClick", root, function () if source == GUIEditor.label[12] then if ( guiGetVisible(GUIEditor.staticimage[2]]) == false) then end guiSetVisible (GUIEditor.staticimage[2], false) showCursor(false) guiSetInputEnabled(false) end end ) addEventHandler ("onClientGUIClick", root, function () if source == GUIEditor.label[1] then if ( guiGetVisible(GUIEditor.staticimage[2]) == true) then end guiSetVisible (GUIEditor.staticimage[2], true) showCursor(true) guiSetInputEnabled(true) end end ) احد يساعدني اكون شاكر كثير
  17. لا ولا يهمك مشكور تراك ساعدتني لما جبت سريال سي جي
  18. العفوا ترا ما سويت شي
  19. تفضل اخي جرب ذا ما جربته الصراحة بس اضن انه حق لوحة الادمنية بس جربه addEventHandler( "onSettingChange", getRootElement(), اسم الفنكشن )
  20. ccw راح اكلم يخلي الباند على البيوس مستحيل يتغير السيريال لو تموت تراه فك باندي قلت لك الله ما يترك المظلوم + مشكور علي انك وقفت ضدي الله يسامحك وبس
  21. معرف ححتي اي اداري في جراند العرب الحين ترا انا اقدر الحين اروح افرمط الجهاز بس انا ابي اثبت اني مو انا سي جي
  22. ما بقول انا مو سي جي انا بقول بس الله علي الظالم الي ظلمني عشان واحد يروح يسوي هكر وانا اكل باند بدالة + اشك انه الي بندني متفق مع سي جي
  23. + وش الي دخل كيف جاب سريالي في المووضوع ؟
  24. ارسلت له قلت له كيف جبت سريالي وطبعا كالعادة ما راح يرد
×
×
  • Create New...