Jump to content

[iMr]-W[i]Fi,.!

Members
  • Posts

    185
  • Joined

  • Last visited

Everything posted by [iMr]-W[i]Fi,.!

  1. الفنكشنات : -- Client 'onClientGUIClick' guiGetText -- استعملها مرتين triggerServerEvent --Server if not --.. تحقق اذا كان الحساب الي سواه غير مطابق لاكووانت ثاني getAccount addAccount -- أضافة حساب logIn -- تسجيل دخول
  2. + طيب الحين انا ابي اربطه ب راديون وبتن واضيف كلومن كيف ؟
  3. تابل اشرح لنا ال فنكشن ذا متحير فية شوي يعني لو قدرت ~
  4. الححين اانتو جاييين عشان تحطمون ولا كيف ؟ عالعموم الي بيساعد لو سمحت يتفضل مانبي تحطيم وغغيرة وشكراُ
  5. السؤال هو : بدي اشارك في ترجمه صفحات الويكي الغير المكتملة واساهم في مساعدتهم فكيف ذلك ؟ البعض يقول ادخل هذا الموضوع وحتفهم https://forum.multitheftauto.com/viewtopic.php?f=160&t=47037 لكن بالحقيقه لم افهم شيئاً بعد كيف اسجل ب OpenID المعضم يقولون انه تقفل طيب سجلت بال ياهو جربت اتجرم ما عرفت ارجو الحل
  6. جربةة local sx,sy = guiGetScreenSize() GUI = { button = {}, } GUI.button[1] = guiCreateButton(231, 240, 143, 65, "onsound", false) GUI.button[2] = guiCreateButton(390, 241, 143, 65, "offsound", false) guiSetAlpha ( GUI.button[1], 0.00 ) guiSetAlpha ( GUI.button[2], 0.00 ) function Dx() dxDrawRectangle(sx*0.3413,sy*0.3550,sx*0.3137,sy*0.2667) dxDrawLine(222 - 1, 164 - 1, 222 - 1, 376, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(545, 164 - 1, 222 - 1, 164 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(222 - 1, 376, 545, 376, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(545, 376, 545, 164 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(222, 164, 323, 212, tocolor(10, 244, 231, 171), false) dxDrawLine(232 - 1, 240 - 1, 232 - 1, 306, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(373, 240 - 1, 232 - 1, 240 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(232 - 1, 306, 373, 306, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(373, 306, 373, 240 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(232, 240, 141, 66, tocolor(10, 244, 231, 171), false) dxDrawLine(391 - 1, 240 - 1, 391 - 1, 306, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(532, 240 - 1, 391 - 1, 240 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(391 - 1, 306, 532, 306, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(532, 306, 532, 240 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(391, 240, 141, 66, tocolor(10, 244, 231, 171), false) dxDrawText("αυ∂ισ ρℓαувα¢к", 230, 239, 373, 305, tocolor(120, 11, 242, 171), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Extinguish sound", 390, 239, 531, 307, tocolor(247, 39, 5, 171), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawLine(220, 207, 543, 208, tocolor(255, 255, 255, 255), 1, false) dxDrawText("To play the sound Put option on αυ∂ισ ρℓαувα¢к", 222, 164, 546, 185, tocolor(144, 233, 18, 171), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("To reduce the sound Put Option Extinguish sound", 223, 185, 547, 206, tocolor(247, 39, 5, 171), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawLine(223 - 1, 339 - 1, 223 - 1, 375, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(545, 339 - 1, 223 - 1, 339 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(223 - 1, 375, 545, 375, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(545, 375, 545, 339 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(223, 339, 322, 36, tocolor(144, 233, 18, 171), false) dxDrawText("Mod Sound By ~ Mr.Hassan", 222, 337, 544, 375, tocolor(19, 14, 236, 171), 1.00, "pricedown", "left", "top", false, false, false, false, false) end addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUI.button[1] then setSoundPaused(theSound, true) elseif source == GUI.button[2] then setSoundPaused(theSound, false) end end ) removeEventHandler("onClientRender",root,Dx) guiSetVisible ( GUI.button[1], false ) guiSetVisible ( GUI.button[2], false ) function OpenWin() if removeEventHandler("onClientRender",root,Dx)then removeEventHandler("onClientRender",root,Dx) guiSetVisible ( GUI.button[1], false ) guiSetVisible ( GUI.button[2], false ) showCursor(false) else addEventHandler("onClientRender",root,Dx) guiSetVisible ( GUI.button[1], true ) guiSetVisible ( GUI.button[2], true ) showCursor(true) end end bindKey ( "F4", "down", OpenWin ) شكراً عقيد تم تعديل
  7. يعني لو ضغطت F4 ما ينفتح اللوحه ؟
  8. حسسيت انه في دفاع المدني ض٢ مشكورين على المرور يا لي مشتكي لو سمحت لو انت خايف على سيرفرك لا تحمل مودي
  9. شكرراًً اكتشفت الاخطاء طبعا انا ما ابي اسسرق اكواد لكني بسوي اكواد جديده يغلق تمت الافادة
  10. للحين مافي رد نايمين ؟ حول 1.. 2.. 3.. بوم ردو
  11. طبعا اللسته مو كامل فقط للتجربه وفيها اغغلاط
  12. سلام عليكم شخباركم انشاءالله بخخير كيفكم , رمضان مبارك عالجميع جتني مشكله بكود نبدأ بالديبوق ERROR: Loading script failed: ***\****.lua:11: ')' expected ( to close '{' at line 10) near '=' لا تفكرو *** اسم المود فقط تشفير الكود : local key = "F4" GUIEditor = { gridlist = {}, button = {}, label = {}, window = {}, } List = { Weahter[1] = "ممطر", Weahter[2] = "عاصف", Weahter[3] = "ضباب", } List2 = { Time[1] = " مشمس ", } GUIEditor.window[1] = guiCreateWindow(273, 200, 473, 465, "الجو / الوقت", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.gridlist[1] = guiCreateGridList(12, 27, 204, 256, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "الجو", 3) GUIEditor.gridlist[2] = guiCreateGridList(254, 27, 204, 256, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "الوقت", 0.50) GUIEditor.button[1] = guiCreateButton(127, 324, 214, 57, "[ اخــتــيـًاْر]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.label[1] = guiCreateLabel(219, 27, 35, 37, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetColor(GUIEditor.label[1], 0, 255, 255) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.label[2] = guiCreateLabel(219, 64, 35, 37, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) GUIEditor.label[3] = guiCreateLabel(219, 138, 35, 37, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) GUIEditor.label[4] = guiCreateLabel(219, 101, 35, 37, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "sa-gothic") guiLabelSetColor(GUIEditor.label[4], 0, 255, 255) guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) GUIEditor.label[5] = guiCreateLabel(219, 175, 35, 37, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "sa-gothic") guiLabelSetColor(GUIEditor.label[5], 0, 255, 255) guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) GUIEditor.label[6] = guiCreateLabel(219, 212, 35, 37, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) GUIEditor.label[7] = guiCreateLabel(219, 246, 35, 37, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[7], "sa-gothic") guiLabelSetColor(GUIEditor.label[7], 0, 255, 255) guiLabelSetHorizontalAlign(GUIEditor.label[7], "center", false) GUIEditor.label[8] = guiCreateLabel(22, 293, 115, 18, "____________________________________________________________", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[8], "default-bold-small") GUIEditor.label[9] = guiCreateLabel(133, 293, 115, 18, "____________________________________________________________", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 255, 0, 0) GUIEditor.label[10] = guiCreateLabel(248, 293, 115, 18, "____________________________________________________________", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[10], "default-bold-small") guiLabelSetColor(GUIEditor.label[10], 0, 255, 255) GUIEditor.label[11] = guiCreateLabel(343, 293, 115, 18, "____________________________________________________________", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[11], "default-bold-small") guiLabelSetColor(GUIEditor.label[11], 0, 0, 0) GUIEditor.label[12] = guiCreateLabel(143, 411, 237, 34, "By : [iMr]-W[i]Fi,.!", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[12], "clear-normal") function black() for k, v in ipairs ( List ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 2, v[2], false, false) guiGridListSetItemData(GUIEditor.gridlist[1], row, 1, v[3]) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 1, 255, 159, 0) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 2, 146, 0, 255) end end setTimer (black, 3000, 1) function black1() for k, v in ipairs ( List2 ) do local row = guiGridListAddRow(GUIEditor.gridlist[2]) guiGridListSetItemText(GUIEditor.gridlist[2], row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[2], row, 2, v[2], false, false) guiGridListSetItemData(GUIEditor.gridlist[2], row, 1, v[3]) guiGridListSetItemColor(GUIEditor.gridlist[2], row, 1, 255, 159, 0) guiGridListSetItemColor(GUIEditor.gridlist[2], row, 2, 146, 0, 255) end end setTimer (black1, 3000, 1) function Clieck() if soruce == Weahter[1] then setWeather (8) elseif soruce == Weahter[2] then setWeather(19) elseif soruce == Time[1] then setTime ( 12, 0 ) end end addEventHandler("onClientGUIClick", GUIEditor.button[1],Clieck ) و و سلام خير الختام
  13. dxDrawRectangle -- مربع guiCreateButton -- ضع الزر امام المربع guiSetAlpha -- اخف الزر -- مثال button = guiCreateButton( 0.7, 0.1, 0.2, 0.1, "", true ) -- ماخوذ من الويكي اي انه ليس بشغال بل لفهم guiSetAlpha (button , 0.00 ) local x,y = guiGetScreenSize() function DX() dxDrawRectangle ( x/3.8, y/3.8, x/2.02, y/2, tocolor ( 0, 0, 0, 150 ) ) addEventHandler("onClientRender", root, DX) المثال مهو مرتب بس افهم منه Dx وبنسبه لسؤالك يمدي تغير اللون بس وش تبي تغير الزر
  14. addEventHandler('onPlayerSpawn', root, function() if getTeamName(getPlayerTeam(source)) == "No Team" and getElementData(source, "Skin") == "1" then -- رقم السكن [1[= setTimer(setElementPosition, 500, 1, source,x,y,z) setElementHealth ( player, 100 ) setPedArmor ( player, 100 ) end end ) او addEventHandler('onPlayerSpawn', root, function() if getTeamName(getPlayerTeam(source)) == "No Team" and getPlayerSkin(getPlayerSkin(source)) == "1" then -- رقم السكن [1[= setTimer(setElementPosition, 500, 1, source,x,y,z) setElementHealth ( player, 100 ) setPedArmor ( player, 100 ) end end ) جربه ما جربته انا
  15. لو سو الحركه مو صح راح تصير على وجه الاعب ؟ طريقتي بتقعد طويل !! انا قصدي انه لو احس اني غلطان مدري ليش ض1 المهمه بحذف الرد بس كنت احاول اقول انه لو جرب كذه راح تصير على وجهه
  16. تمت الإزالة جربه وورنا الديبوق
  17. ^ 1+ انت لك خبرة ؟ في ذي الاكواد ؟ مالك خبره ابدأ باكواد سهله انا نفس حالتك طلبت زي كذا وردو وقالو لازم لك خبرهه ابدأ باكواد سهله مثل givePlayerMoney -- اعطاء الاعب فلوس هاذا مثال مو متعلق بالموضوع مني ناوي احطمك بل ناوي اساعدك
  18. طلب شرح xml كامل بشرح الويكي فهمت نصه باقي نصه ابي مثال لو بنسوي زر حفظ اسم الحساب ورمزه او حفظ فلوس الاعب وغيره ادري انه في واحد طلب نفس الطلب لكن الرد مو مفهوم
  19. عطني مثال او اشرحلي xmlFindChild xmlNodeSetValue xmlCreateChild xmlNodeSetAttribute وكيف استعملها مع checkbox
×
×
  • Create New...