Jump to content

FAHD+18

Members
  • Posts

    143
  • Joined

  • Last visited

Everything posted by FAHD+18

  1. يظهر بس ما يعطي دم ! ما السبب
  2. Pickupالسلام عليكم انا سويت ماركر ليش ما اشتغل ! الرجاء التعديل انا ابي ماركر الدم ما يختفي علي شكل قلب local pickup = createpickup (2498, -1685.3000488281 , 13.39999961853 " Health ", 1.0, 0, 0, 0, 0 ) addEventHandler ( "onClientpickupHit", root, function ( player ) if source == Pickup then if getElementType( player ) == "player" and not isPedInVehicle( player ) then setElementHealth ( player, 100 ) outputChatBox ( "تم اعطائك دم", player,255,255,255,true ) end end)
  3. السلام عليكم عندي سؤال كيف اغير شكل الماركر كدا مش عارف ده tdx ولا شو فاتمني المساعده
  4. ممكن تعدلي علي الكود addEventHandler("onClientClick",root, function ( button , state ) if ( button == "left" and state == "up" ) then if ( isMouseInPosition (481, 205, 107, 25) ) then local Sound = playSound("sound.mp3") setSoundVolume(Sound,0.5) elseif ( isMouseInPosition (395, 274, 76, 25) ) then stopSound ( Sound ) end end end )
  5. انا عامل زر واحد لتشغيل والايقاف
  6. عندي سؤال هو ليه انت كاتب elseif ( isMouseInPosition (395, 274, 76, 25) ) then مرتين باختلاف الاحداثيات if ( isMouseInPosition (481, 205, 107, 25) ) then
  7. السلام عليكم ورحمه الله وبركاتة اتمني مساعدتكم واي شخص محترف في الدي اكس لا يبخل المشكلة هي اللوحة لا تريد ان تفتح وانا ابرمجها فياريت كل شخص يقلي شو الخطا انا مبرمج اللوحة من اولها لاخرها اتمني المساعدة هاد مود اغاني دي اكس فية مشكلة معرف ما هي + انا حاطط موسيقة !! 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 dx_test ( ) dxDrawRectangle(121, 149, 494, 298, tocolor(0, 0, 0, 255), false) dxDrawRectangle(121, 150, 494, 43, tocolor(23, 23, 23, 255), false) dxDrawRectangle(121, 379, 494, 72, tocolor(23, 23, 23, 255), false) dxDrawText("Music", 298, 150, 420, 193, tocolor(255, 255, 255, 255), 1.30, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("OMGF - Hello Remix [ Trap ]", 140, 210, 340, 223, tocolor(255, 255, 255, 255), 1.12, "clear", "left", "top", false, false, false, false, false) if ( isMouseInPosition (481, 205, 107, 25) ) then dxDrawRectangle(481, 205, 107, 25, tocolor(13, 119, 126, 200), false) else dxDrawRectangle(481, 205, 107, 25, tocolor(13, 119, 126, 255), false) end dxDrawRectangle(395, 205, 76, 25, tocolor(13, 119, 126, 255), false) dxDrawText("ON / OFF", 395, 204, 471, 230, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("25,000", 481, 204, 589, 229, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawLine(122, 194, 614, 194, tocolor(13, 119, 126, 255), 1, false) dxDrawLine(123, 379, 615, 379, tocolor(13, 119, 126, 255), 1, false) dxDrawText("Benny Cinema [ Remix ] ", 140, 243, 340, 256, tocolor(255, 255, 255, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawRectangle(395, 240, 76, 25, tocolor(13, 119, 126, 255), false) dxDrawRectangle(481, 239, 107, 25, tocolor(13, 119, 126, 255), false) dxDrawText("RIGHT IN [ Remix ]", 140 - 1, 276 - 1, 340 - 1, 289 - 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("RIGHT IN [ Remix ]", 140 + 1, 276 - 1, 340 + 1, 289 - 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("RIGHT IN [ Remix ]", 140 - 1, 276 + 1, 340 - 1, 289 + 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("RIGHT IN [ Remix ]", 140 + 1, 276 + 1, 340 + 1, 289 + 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("RIGHT IN [ Remix ]", 140, 276, 340, 289, tocolor(255, 255, 255, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawRectangle(395, 274, 76, 25, tocolor(13, 119, 126, 255), false) dxDrawRectangle(481, 274, 107, 25, tocolor(13, 119, 126, 255), false) dxDrawText("BANGARANGE [ Remix ]", 140 - 1, 311 - 1, 315 - 1, 311 - 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("BANGARANGE [ Remix ]", 140 + 1, 311 - 1, 315 + 1, 311 - 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("BANGARANGE [ Remix ]", 140 - 1, 311 + 1, 315 - 1, 311 + 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("BANGARANGE [ Remix ]", 140 + 1, 311 + 1, 315 + 1, 311 + 1, tocolor(0, 0, 0, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawText("BANGARANGE [ Remix ]", 140, 311, 315, 311, tocolor(255, 255, 255, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawRectangle(395, 309, 76, 25, tocolor(13, 119, 126, 255), false) dxDrawRectangle(481, 309, 107, 25, tocolor(13, 119, 126, 255), false) dxDrawText("KYOTO [ Remix ]", 140, 346, 340, 359, tocolor(255, 255, 255, 255), 1.12, "clear", "left", "top", false, false, false, false, false) dxDrawRectangle(395, 344, 76, 25, tocolor(13, 119, 126, 255), false) dxDrawRectangle(481, 344, 107, 25, tocolor(13, 119, 126, 255), false) dxDrawText("ON / OFF", 395, 239, 471, 265, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("ON / OFF", 395, 273, 471, 299, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("ON / OFF", 395, 309, 471, 335, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("ON / OFF", 395, 343, 471, 369, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("25,000", 480, 240, 588, 265, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("25,000", 480, 273, 588, 298, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("25,000", 480, 309, 588, 334, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("25,000", 480, 343, 588, 368, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) end local sShowing = false bindKey("F4","down", function ( ) if ( sShowing == true ) then removeEventHandler("onClientRender",root,dx_test) showCursor ( false ) else addEventHandler("onClientRender",root,dx_test) showCursor ( true ) end sShowing = not sShowing end ) addEventHandler("onClientClick",root, function ( button , state ) if( button == "left" and state == "up" ) then local Sound = playSound("sound.mp3") setSoundVolume(Sound,0.5) elseif source == stop then stopSound ( Sound ) if ( isMouseInPosition (481, 205, 107, 25) ) then end end end بدي اعرف ايه الخطا !! ياريت اللي ياخدة يجربة الmeta ومسوي ملف sound واضع به الاغنية ^^ اتمني المساعدة
  8. لا يعني اقلك اني لسا جديد بالدي اكس
  9. اسف بس عشان انا ما عندي خبرة بالدي اكس فاتعلمة بس اعرف ابرمج لوحات عادية ^^
  10. المشكلة ما اتحلت للاسف اتمني المساعدة لو سمحتم اللي يحلها يجربه ويعطية لي وشكرا <3
  11. ممكن اعرف اية المشكلة عشان اتعلم من خطاي
  12. السلام عليكم ورحمه الله وبركاتة عندي مشكلة بالكود معرف شو في اللوحة ما تبي تفتح !! اتمني المساعدة الكود هو ... x,y,w,h 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 dx_test ( ) dxDrawRectangle(129, 227, 475, 240, tocolor(0, 0, 0, 255), false) dxDrawRectangle(129, 189, 475, 43, tocolor(8, 8, 8, 255), false) dxDrawRectangle(318, 442, 90, 25, tocolor(8, 8, 8, 255), false) dxDrawRectangle(340, 444, 19, 18, tocolor(121, 9, 118, 255), false) dxDrawRectangle(365, 444, 19, 18, tocolor(121, 9, 118, 255), false) dxDrawLine(129, 232, 605, 232, tocolor(183, 15, 178, 255), 1, false) dxDrawText("Music", 314, 189, 414, 232, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("OMGF - Hello Remix 2015 [Trap] :", 144, 255, 285, 271, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 251, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 251, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 251, 476, 277, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 251, 535, 277, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("BANGARANG [FT.SIRAH] 2015 :", 144, 296, 285, 312, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 292, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 292, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 292, 476, 318, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 292, 535, 318, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("KYOTO - [FT.SIRAH] 2015 :", 144, 337, 285, 353, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 333, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 333, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 333, 476, 359, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 333, 535, 359, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("The Chainsmokers - Don‘t Let Me Down [Trap] :", 144, 377, 285, 393, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 373, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 373, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 373, 476, 399, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 373, 535, 399, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("1", 340, 445, 359, 462, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("2", 365, 445, 384, 462, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) end ) sShowing = false bindKey("f4","down", function ( ) if ( sShowing == true ) then removeEventHandler("onClientRender",root,dx_test) showCursor ( false ) else addEventHandler("onClientRender",root,dx_test) showCursor ( true ) end sShowing = not sShowing end end end )
  13. السلام عليكم انا تعبت اوي في الكود ومش عارف اسويه وكل ما اسويه لازم يكون فيه خط . لو سمحتم اللي معاه الكود يعطيه لي او اللي يعرف يسويه وشكرا لكم لا تبخل لو معك ♥
×
×
  • Create New...