Jump to content

DaminkO

Members
  • Posts

    133
  • Joined

  • Last visited

Everything posted by DaminkO

  1. Comment fixer ce Problème
  2. نفس المشكلة
  3. الصراحة عناد من احسن الي شفتها سيرفره و لا أروع و يساعد كل الناس
  4. ما عنده افكار هو ليه تحبطوه
  5. انا فهمته ايش يقصد يعني صلاحيات المودات ماتضهر في المود مثال Resource.admin ماتضهر
  6. ابدعت ما شاء الله
  7. كيف اسوي زي الانترو بالكميرا يوم اللاعب يدخل السيرفر
  8. طاره يوم انصكيت فيه بلاك لست رحت لوناسة تايم قرند العرب Q.5 بعدين الوزاره و يوم انفك بلاك لستي رجعت طاره طاره و الكل اختاره
  9. DaminkO

    help

    for vehicle
  10. DaminkO

    help

    How To Make rainbow Color
  11. يعني مثلا انا مسوي رو فيه شوارع الهجولة اذا اضغط عليه يطلعلي شارع الطويل ,الدائري ...
  12. انا أبي يكون في تقسيم ابي مسااعدة
  13. ايش المشكلة الي كانت فيه
  14. الجدول ما يطلعلي بالقريد ليست
  15. local screenW, screenH = guiGetScreenSize() local PlacesTable = { Tables = { ['=][ أماكن التوجيهات ][='] ={ ['القفزة الخنفشارية'] = {1550.0161132813, -1366.4044189453, 326.2109375} , ['مركز الشرطة'] = {1543.1385498047,-1677.0050048828,13.555870056152} , ['التل الشاهق'] = {-2393.25415, -2202.31543, 33.28906} , ['مقر الجيش'] = {146.66674804688, 1720, 17.640625} , ['السد الكبير'] = {-887.02734375, 2000.9217529297, 60.654315948486} , ['مننطقة البندقية'] = {723.33862, -1487.2187523047, 1.93434} , ['الجسر المعلق'] = {-2696.1865234375, 1232.7795410156, 55.621524810791} , ['الحفرة الكبيرة'] = {369.61615, 991.90735, 30.41144} , ['النطة العالمية'] = {-2058.19360, -1743.08936, 472.42230} , ['حلبة المصارعة'] = {-1958.2077636719, -1808.7568359375, 471.66561889648} , ['مسار السباق'] = {-1978.2933349609, -1754.9453125, 471.60000610352} , ['مكتب المطار'] = {1678.33533, 1447.70569, 10.77515} , ['المطار الاول'] = {1717.6470947266, -2494.1176757813, 13.39999961853} , ['لمطار الثاني'] = {1411.7646484375, 1482.3529052734, 10.89999961853} , ['المطار الثالث'] = {-1223.4300537109, -185.74758911133, 14.39999961853} , ['برج الفيصليه'] = {1842.3481445313,858.84588623047 ,9.882495880127} , ['الفنادق'] = {-1739.0821533203, 940.56231689453, 24.7421875} , ['حارة سي جي'] = {2491.12109375, -1667.4482421875, 13.34375} , ['ساحه التفجير'] = {-2051.4926757813, -173.29304504395, 35.3203125} }, ['=][ آماكن التطعيس والتفجير ][='] ={ ['ساحة التفجير'] = {-2051.4926757813, -173.29304504395, 35.3203125} , ['الطعس'] = {-2600,-2694.1176757813,10.188545227051} }, ['= ][آماكن الهجولة ][='] ={ ['الشارع الطويل'] = {-3072.5554199219,-3000.345703125,5} , ['الدائري'] = {1753.3974609375, 776.7255859375, 10.8203125} , ['الغروب'] = {662.55310058594, 1936.7479248047, 5.5052728652954} , ['الغروب'] = {662.55310058594, 1936.7479248047, 5.5052728652954} , ['الغروب'] = {662.55310058594, 1936.7479248047, 5.5052728652954} , ['النخيل'] = {2068.1389160156, 1008.2157592773, 10.671875} , ['المطار الاول'] = {1717.6470947266, -2494.1176757813, 13.5546875} , ['المطار الثاني'] = {-1277.7352294922, 36.338359832764, 14.1484375} , ['المطار الثالث'] = {1321.2225341797, 1494.2713623047, 10.8203125} , ['الفروسية'] = {2878.1115722656, -1110.029296875, 10.882762908936} }, ['=][ آماكن شراء الاسلحة ][='] ={ ['المتجر الاول'] = {-2248.24194 ,127.06280, 35.17188} , ['المتجر الثاني'] = {2393.88623, -1977.91467, 13.54688} , ['المتجر الثالث'] = {1364.33691, -1285.49390, 13.54688} , ['المتجر الرابع'] = {801.23914 ,1686.75000, 5.28125} , ['المتجر الخامس'] = {2173.22534, 965.41931, 10.82031} }, ['= ][الآماكن الحصرية بالسيرفر =][']= { ['النطة العالمية'] = {-2058.19360, -1743.08936, 472.42230} , ['حلبة المصارعة'] = {-1958.2077636719, -1808.7568359375, 471.66561889648} , ['مسار السباق'] = {-1978.2933349609, -1754.9453125, 471.60000610352} , ['بنك وناسة ( سحب وايداع وتحويل )'] = {593.50756835938,-1242.6812744141,18.018035888672} , ['مسار السباق'] = {-1978.2933349609, -1754.9453125, 471.60000610352} , ['مكتب شراء البيوت'] = {3229,-1112,19} , ['اماكن صنع البيوت'] = {3459,-1072,19} , ['البداية'] = {-4249.74316 ,-3033.38623 ,41.31471} , ['النطة العالمية'] = {-2058.19360, -1743.08936, 472.42230} , ['حلبة المصارعة'] = {-1958.2077636719, -1808.7568359375, 471.66561889648} , ['مسار السباق'] = {-1978.2933349609, -1754.9453125, 471.60000610352} , ['مسار السباق'] = {-1978.2933349609, -1754.9453125, 471.60000610352} , [' سرقة البنك'] = {344.10763549805,2503.8784179688, 16.484375} } } } -- {You are at (154.66577, 1094.27124, 14.67220) Places = guiCreateGridList(0.34, 0.22, 0.28, 0.43, true) guiGridListAddColumn(Places, "المكان", 0.9) guiSetVisible(Places, false) for Key, Value in ipairs(PlacesTable) do local Row = guiGridListAddRow(Places) guiGridListSetItemText(Places, Row, 1, Value[1], false, false) guiGridListSetItemData(Places, Row, 1, {Value[2][1], Value[2][2], Value[2][3]}) end function dxDrawTransport() dxDrawLine((screenW * 0.3336) - 1, (screenH * 0.2122) - 1, (screenW * 0.3336) - 1, screenH * 0.7487, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6289, (screenH * 0.2122) - 1, (screenW * 0.3336) - 1, (screenH * 0.2122) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.3336) - 1, screenH * 0.7487, screenW * 0.6289, screenH * 0.7487, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6289, screenH * 0.7487, screenW * 0.6289, (screenH * 0.2122) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.3336, screenH * 0.2122, screenW * 0.2953, screenH * 0.5365, tocolor(0, 255, 0, 200), false) dxDrawLine((screenW * 0.3336) - 1, (screenH * 0.1771) - 1, (screenW * 0.3336) - 1, screenH * 0.2122, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6289, (screenH * 0.1771) - 1, (screenW * 0.3336) - 1, (screenH * 0.1771) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.3336) - 1, screenH * 0.2122, screenW * 0.6289, screenH * 0.2122, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6289, screenH * 0.2122, screenW * 0.6289, (screenH * 0.1771) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.3336, screenH * 0.1771, screenW * 0.2953, screenH * 0.0352, tocolor(255, 150, 0, 200), false) dxDrawText(".:[P.S]:. - الانتقالات", (screenW * 0.3328) - 1, (screenH * 0.1706) - 1, (screenW * 0.6289) - 1, (screenH * 0.2070) - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText(".:[P.S]:. - الانتقالات", (screenW * 0.3328) + 1, (screenH * 0.1706) - 1, (screenW * 0.6289) + 1, (screenH * 0.2070) - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText(".:[P.S]:. - الانتقالات", (screenW * 0.3328) - 1, (screenH * 0.1706) + 1, (screenW * 0.6289) - 1, (screenH * 0.2070) + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText(".:[P.S]:. - الانتقالات", (screenW * 0.3328) + 1, (screenH * 0.1706) + 1, (screenW * 0.6289) + 1, (screenH * 0.2070) + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText(".:[P.S]:. - الانتقالات", screenW * 0.3328, screenH * 0.1706, screenW * 0.6289, screenH * 0.2070, tocolor(255, 255, 255, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawLine((screenW * 0.3398) - 1, (screenH * 0.6862) - 1, (screenW * 0.3398) - 1, screenH * 0.7214, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.4602, (screenH * 0.6862) - 1, (screenW * 0.3398) - 1, (screenH * 0.6862) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.3398) - 1, screenH * 0.7214, screenW * 0.4602, screenH * 0.7214, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.4602, screenH * 0.7214, screenW * 0.4602, (screenH * 0.6862) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.3398, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352, tocolor(0, 100, 255, 200), false) dxDrawText("انتقال", 433 - 1, 526 - 1, 589 - 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433 + 1, 526 - 1, 589 + 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433 - 1, 526 + 1, 589 - 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433 + 1, 526 + 1, 589 + 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433, 526, 589, 554, tocolor(255, 0, 0, 200), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawLine((screenW * 0.5008) - 1, (screenH * 0.6862) - 1, (screenW * 0.5008) - 1, screenH * 0.7214, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6211, (screenH * 0.6862) - 1, (screenW * 0.5008) - 1, (screenH * 0.6862) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.5008) - 1, screenH * 0.7214, screenW * 0.6211, screenH * 0.7214, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.6211, screenH * 0.7214, screenW * 0.6211, (screenH * 0.6862) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.5008, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352, tocolor(0, 100, 255, 200), false) dxDrawText("اغلاق", 639 - 1, 526 - 1, 795 - 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639 + 1, 526 - 1, 795 + 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639 - 1, 526 + 1, 795 - 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639 + 1, 526 + 1, 795 + 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639, 526, 795, 554, tocolor(0, 254, 186, 200), 2.00, "default", "center", "center", true, false, false, true, false) end function isEventHandlerAdded( sEventName, pElementAttachedTo, func ) if type( sEventName ) == 'string' and isElement( pElementAttachedTo ) and type( func ) == 'function' then local aAttachedFunctions = getEventHandlers( sEventName, pElementAttachedTo ) if type( aAttachedFunctions ) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs( aAttachedFunctions ) do if v == func then return true end end end end return false end function isMouseInPosition ( x, y, width, height ) if not isCursorShowing () then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end function Effects() if isEventHandlerAdded("onClientRender", root, dxDrawTransport) then if isMouseInPosition(screenW * 0.5008, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352) then dxDrawRectangle(screenW * 0.5008, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352, tocolor(255, 0, 0, 200), false) dxDrawText("اغلاق", 639 - 1, 526 - 1, 795 - 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639 + 1, 526 - 1, 795 + 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639 - 1, 526 + 1, 795 - 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639 + 1, 526 + 1, 795 + 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", true, false, false, true, false) dxDrawText("اغلاق", 639, 526, 795, 554, tocolor(0, 254, 186, 200), 2.00, "default", "center", "center", true, false, false, true, false) elseif isMouseInPosition(screenW * 0.3398, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352) then dxDrawRectangle(screenW * 0.3398, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352, tocolor(255, 0, 0, 200), false) dxDrawText("انتقال", 433 - 1, 526 - 1, 589 - 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433 + 1, 526 - 1, 589 + 1, 554 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433 - 1, 526 + 1, 589 - 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433 + 1, 526 + 1, 589 + 1, 554 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "center", "center", false, false, false, true, false) dxDrawText("انتقال", 433, 526, 589, 554, tocolor(255, 0, 0, 200), 2.00, "default", "center", "center", false, false, false, true, false) end end end bindKey("F6", "down", function () if not isEventHandlerAdded("onClientRender", root, dxDrawTransport) and not isCursorShowing() then addEventHandler("onClientRender", root, dxDrawTransport) addEventHandler("onClientRender", root, Effects) guiSetVisible(Places, true) showCursor(true) elseif isEventHandlerAdded("onClientRender", root, dxDrawTransport) then removeEventHandler("onClientRender", root, dxDrawTransport) removeEventHandler("onClientRender", root, Effects) guiSetVisible(Places, false) showCursor(false) end end ) addEventHandler("onClientClick", root, function (_, State) if isEventHandlerAdded("onClientRender", root, dxDrawTransport) and State == "up" then if isMouseInPosition(screenW * 0.5008, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352) then removeEventHandler("onClientRender", root, dxDrawTransport) removeEventHandler("onClientRender", root, Effects) guiSetVisible(Places, false) showCursor(false) elseif isMouseInPosition(screenW * 0.3398, screenH * 0.6862, screenW * 0.1203, screenH * 0.0352) then local Text = guiGridListGetItemText(Places, guiGridListGetSelectedItem(Places), 1) if Text ~= "" then local DT = guiGridListGetItemData(Places, guiGridListGetSelectedItem(Places), 1) if type(DT) == "table" then if isPedInVehicle(localPlayer) then setElementPosition(getPedOccupiedVehicle(localPlayer), DT[1], DT[2], DT[3]) else setElementPosition(localPlayer, DT[1], DT[2], DT[3]) end end else outputChatBox("اختار مكان اولاً", 255, 0, 0, true) end end end end )
  16. مشاء الله المبدع يبقى بس مبدع واصل
  17. ابغاه ينتقل بالموتر
  18. GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } --(1541.37219, -1675.51563, 13.55242) local PlacesTable = { {"البداية ", 4598.32227,-1954.70947 ,12.80194,}, {"البنك", 1479.48999, -1707.75439, 14.04688}, {"مركز الشرطة", 1541.37219, -1675.51563, 13.55242}, {"استلام الرواتب", 2504.06787 , -1672.69263, 13.36300}, {"آلدآئري ", 1830.88538, 903.81830, 10.38969}, {"آلنخيل ", 2068.7211914063, 907.06707763672, 8.1701345443726}, {"آلطعوس ", -2617.193359375, -2547.3530273438, 3}, {"آلغروب ", 662.55310058594, 1936.7479248047, 5.5052728652954}, {"المطار الاول", 1717.6470947266, -2494.1176757813, 13.39999961853}, {"المطار الثاني", -1223.4300537109, -185.74758911133, 14.39999961853}, {"المطار الثالث", 1411.7646484375, 1482.3529052734, 10.89999961853}, {"ساحة الدرفت",1009.79254, -2322.02051, 13.09375}, {"Cinema", 154.66577, 1094.27124, 14.67220}, {"تصادم السيارات",2813.29712, -1763.30908, 10.32601}, {"الشارع الطويل",-3252.47144, -2983.04419, 5.00000}, {"آلديربي",1448.97778, -2726.81201, 10.96742}, } local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 352) / 2, (screenH - 422) / 2, 352, 422, "الانتقالات", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFECB00") guiSetVisible (GUIEditor.window[1],false) Places = guiCreateGridList(14, 25, 320, 326, false, GUIEditor.window[1]) guiGridListAddColumn(Places, "المكان", 0.9) GUIEditor.button[1] = guiCreateButton(11, 358, 145, 42, "انتقال", false, GUIEditor.window[1]) Close = guiCreateButton(189, 358, 145, 42, "اغلاق", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(256, 400, 302, 15, "9.M By #Rock", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") for Key, Value in ipairs(PlacesTable) do local Row = guiGridListAddRow(Places) guiGridListSetItemText(Places, Row, 1, Value[1], false, false) guiGridListSetItemData(Places, Row, 1, {Value[2], Value[3], Value[4]}) end addEventHandler('onClientGUIClick', Close,function () guiSetVisible (GUIEditor.window[1],false) end ) bindKey ("F6","down", function () guiSetVisible (GUIEditor.window[1],not guiGetVisible (GUIEditor.window[1])) showCursor (guiGetVisible (GUIEditor.window[1])) end) addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function () local sel = guiGridListGetSelectedItem ( Places ) if sel ~= -1 then local x,y,z = unpack(guiGridListGetItemData ( Places,sel,1 )) setElementPosition(localPlayer,x,y,z) guiSetVisible (GUIEditor.window[1],false) showCursor ( false ) end end ) ابغى اذا كان اللاعب معه موتر ينتقل
  19. يا كور انا قصدت من درجة الي مايفهم شي في البرمجة الى الاحتراف
  20. كيف اعطي صاروخ الشوتر بزر من اللوحة
  21. مشكور على تعبك بس اذا تحطو مرتب يعني شروحات من البداية الى الاحتراف
  22. المود حلو بس ليش تقلد طاره ؟
  23. انا من حين حملت windows 10 صار معي الافبياس 10 او اكثر بشوي كيف احطو زي ماكان
  24. ليش ما تسوي ؟
×
×
  • Create New...