Jump to content

Me[Z]oO

Members
  • Posts

    1,830
  • Joined

  • Last visited

Everything posted by Me[Z]oO

  1. الكود من الويكي مدري الزبدة انه يزن عطاني هو >< طلعت الموضوع من فوق لتحت مشان الكلمة ذي ض منور بلاك
  2. من ذول local userr = guiGetText(RegisterAccount) local passr = guiGetText(RegisterPass) local passre = guiGetText(RetypePass) في r زيادة لازم تسوي التريقر بأسمائهم
  3. وش ذي الهريسة كيف اند بين قوسين والفنكشن بعد ست تايمر؟؟ هريس ؟ جربه قبل م تتكلم والسورس معرف بملف سيرفر سايد اكيد
  4. من وين دول؟ user, pass, passre
  5. setTimer ( function () giveWeapon (source, 90,22) end,7000,1) جرب
  6. dxDrawRectangleWithLines فائدتها تقوم بعمل لوحة دي اكس وحولينها خطوط بيضاء dxDrawRectangleWithLines(float startX, float startY, float width, float height, int color window, int color lines, false) Required Arguments ---startX: An float representing the absolute origin X position of the rectangle, represented by pixels on the screen. ---startY: An float representing the absolute origin Y position of the rectangle, represented by pixels on the screen. ---width: An float representing the width of the rectangle, drawn in a right direction from the origin. ---height: An float representing the height of the rectangle, drawn in a downwards direction from the origin. Optional Arguments ---color: the hex color of the rectangle, produced using tocolor window (AA = alpha, RR = red, GG = green, BB = blue). --وهذا الارقمنت هو للون اللوحة ---color: the hex color of the rectangle, produced using tocolor lines (AA = alpha, RR = red, GG = green, BB = blue). --وهذا الارقمت هو للون الخطوط Code : function dxDrawRectangleWithLines(x,y,x1,y1,color,lineColor,state) if type(x) == "number" and type(y) == "number" and type(x1) == "number" and type(state) == "boolean" then dxDrawRectangle(x,y,x1,y1, color,state) dxDrawLine(x,y, x+x1, y, lineColor,2,false) dxDrawLine(x,y+y1, x+x1, y+y1, lineColor,2,false) dxDrawLine(x, y, x, y+y1+1,lineColor,2,false) dxDrawLine(x+x1, y, x+x1, y+y1+1, lineColor,2,false) end end Example : addEventHandler("onClientRender",root, function() dxDrawRectangleWithLines(398, 220, 500, 400, tocolor(0, 0, 0, 181),tocolor(255, 255, 255, 225), false) end) --للتوضيح --tocolor(0, 0, 0, 181) هذا لون اللوحة خليته اسود --tocolor(255, 255, 255, 225) هذا لون الخطوط خليته ابيض صورة .. اتمني ان يكون الكود مفيد لكم والسلام عليكم ورحمة الله وبركاته
  7. انا اكتب بالجوال ف ما الاحظ مشكور ع التنبيه
  8. جربتها واشتغل عادي
  9. lua]x = 5 local = y = 3 local = w = x+y outputChatBox(tostring(w))[/lua] هي هي
  10. local x = 5 local y = 3 local w = x+y outputChatBox("..tostring(w)..") تفضل
  11. هذا سكربت غير ذا لا تتكلم وخلاص
  12. شو تبي تسوي بلضبط
  13. العفو حياك الله + مشكور جابر عدلته
  14. لا تخله يستخدم يوسفل فنكشن الحين انا لما كنت مثله م كنت احط كود اليوسفل واخربط يخرب الكود لهيك خليه يتعلم الاكواد الرئيسية الي بالويكي اول بعدين اليوسفل يفهم معناها
  15. else يعني ايش ؟؟ مثلا ابي ادوس زر يعطني فلوس بس بشرط لازم تكون فلوسه اقل من 500 addEventHandler("onClientGUIClick",root, function() if source == buttonName then -- نتتحق من الزر الي يضغطه if getPlayerMoney(localPlayer) < 500 -- هنا اتحقق لو فلوسه اصغر من ال500 givePlayerMoney(localPlayer,200) -- لو نجح الشرط ووجد ان فلوس اللاعب اصغر من ال500 يعطيه 200 $ else -- لو ما تحقق الشرط outputChatBox("ليست فلوسك اصغر من ال500") -- يقول بالشات لست معك فلوس اصغر من 500 end end end)
  16. طه جيب فكرتك اسويها لك كلها وخلاص وانت تعلم واحدة واحدة من الكود
  17. https://forum.multitheftauto.com/viewtopic.php?f=160&t=97196 هذا
  18. onClientMarkerHit لما اللاعب يلمس ماركر onClientGUIClick لما اللاعب يضغط زر
×
×
  • Create New...