Jump to content

mahmod3

Members
  • Posts

    397
  • Joined

  • Last visited

Everything posted by mahmod3

  1. mahmod3

    طلب

    addEventHandler("onClientGUIClick",root, function () if source == btn7 then removeEventHandler ( "onClientRender",renderDisplay ) end end ) مااشتغل اوك نجحت الطريقة
  2. mahmod3

    طلب

    مشكورين شباب تمت الاقاده dxDrawImage ( screenWidth/2 - 50, 0, 100, 100,'plus.png', angle, 0, -50) شباب اريد ان اعمل زر يغلق الصورة وزر يفتح الصورة
  3. mahmod3

    طلب

    لا دول بيكبرون الصورة عرفتها 0 غيرتها نجحت معي
  4. mahmod3

    طلب

    صح انا اريدها تروح يمين ويسار بس اقصد اني احركها تصير تحت في الشاشة موفوق
  5. mahmod3

    طلب

    local screenWidth,screenHeight = guiGetScreenSize() function renderDisplay ( ) local seconds = getTickCount() / 1000 local angle = math.sin(seconds) * 80 local screenWidth = 1250 dxDrawImage ( screenWidth/2 - 50, 0, 100, 100,'plus.png', angle, 0, -50 ) end function HandleTheRendering ( ) addEventHandler("onClientRender", root, renderDisplay) end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering)
  6. mahmod3

    طلب

    local screenWidth = 1250 سويت متغير ل دا بس ماينزل تحت هادا ييحرك يمين ويسار فقط
  7. addEventHandler("onClientResourceStart", resourceRoot, function() img = guiCreateStaticImage(457, 296, 567, 472, "PNGG.png", false) guiSetVisible(img,false) close = guiCreateButton(0, 0, 105, 36, "ايقاف", false,img) bacara = guiCreateButton(397, 43, 138, 31, "سورة البقرة", false, img) local font0_EmblemaOne = guiCreateFont("EmblemaOne.ttf", 10) guiSetFont(bacara, font0_EmblemaOne) guiSetProperty(bacara, "NormalTextColour", "FFFEFEFE") kahf = guiCreateButton(397, 126, 138, 31, "سورة الكهف", false, img) guiSetFont(kahf, font0_EmblemaOne) guiSetProperty(kahf, "NormalTextColour", "FF0ABF05") Eklas = guiCreateButton(35, 49, 138, 31, "سورة الاخلاص", false, img) guiSetFont(Eklas, font0_EmblemaOne) guiSetProperty(Eklas, "NormalTextColour", "FFB7A50B") flk = guiCreateButton(35, 126, 138, 31, "سورة الفلق", false, img) guiSetFont(flk, font0_EmblemaOne) guiSetProperty(flk, "NormalTextColour", "FF20A199") fatrha = guiCreateButton(230, 14, 94, 25, "سورة الفاتحه", false, img) guiSetFont(fatrha, font0_EmblemaOne) nas = guiCreateButton(35, 225, 138, 31, "سورة الناس", false, img) guiSetFont(nas, font0_EmblemaOne) guiSetProperty(nas, "NormalTextColour", "FF48417F") msd = guiCreateButton(35, 325, 138, 31, "سورة المسد", false, img) guiSetFont(msd, font0_EmblemaOne) guiSetProperty(msd, "NormalTextColour", "FFBF5D5D") nazeat = guiCreateButton(210, 370, 138, 31, "سورة النازعات", false, img) guiSetFont(nazeat, font0_EmblemaOne) guiSetProperty(nazeat, "NormalTextColour", "FFBF5D5D") nba = guiCreateButton(397, 233, 138, 31, "سورة النبأ", false, img) guiSetFont(nba, font0_EmblemaOne) guiSetProperty(nba, "NormalTextColour", "FFBA0909") tkatr = guiCreateButton(397, 325, 138, 31, "سورة التكاثر", false, img) guiSetFont(tkatr, font0_EmblemaOne) guiSetProperty(tkatr, "NormalTextColour", "FFBF5D5D") lable = guiCreateLabel(183, 157, 208, 175, "سور من القر أن الكريم طبعا\nهذه السور يمكنك سماعها والذي بجانبك \nايضالا يمكنه االسماع\nنتمنا لكم الاستمتاع في السيرفر \nوالسلام عليكم ورحمة الله", false, img) local font1_EmblemaOne = guiCreateFont("EmblemaOne.ttf", 13) guiSetFont(lable, font1_EmblemaOne) guiLabelSetColor(lable, 0, 0, 0) end ) function imgg() if guiGetVisible(img) then guiSetVisible(img,false) showCursor(false) else guiSetVisible(img,true) showCursor(true) end end bindKey("F2","down",imgg) addEventHandler("onClientGUIClick",root, function () if source == bacara then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/002.mp3",x,y,z) setSoundMaxDistance( fateha, 1000 ) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == fatrha then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/001.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == Eklas then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/112.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == kahf then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/018.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == flk then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/113.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == nas then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/114.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == nazeat then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/079.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == nba then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/078.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == tkatr then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/102.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == close then destroyElement(ob) stopSound(fateha) end end ) addEventHandler("onClientVehicleEnter",root, function () triggerServerEvent("speaker",localPlayer) end )
  8. mahmod3

    طلب

    كيف اغيرها ل angle
  9. mahmod3

    طلب

    dxDrawImage ( screenWidth/2 - 50, 0, 100, 240, 'mahmod.png', angle, 0, -120 ) اريد تحريكها ايش بغير ؟
  10. mahmod3

    طلب

    شكرا عملتها
  11. mahmod3

    طلب

    السلام عليكم اريد اعمل صورة واخليها تدور يمين وبعدين ترجع يسار كان شي يتحرك يمين ويرجع يتحرك يسار
  12. سويت الريلود بس الرتب نفسها بتضل يعني اريد الرتب الجديده تضهير
  13. addEvent("speaker",true) addEventHandler("speaker",root, function speaker ( client, command ) local x, y, z = getElementPosition ( client ) local speaker = createObject ( 2229, x, y, z -1 ) if (getPedOccupiedVehicle(client)) then attachElements(speaker, getPedOccupiedVehicle(client), 0.3, -0.2, 1.1 ) end end ) addCommandHandler ( "spk", speaker ) يعني سويت متلك
  14. السلام عليكم انا ركبت acl هل يوجد طريقة لعمل relode واخراج الرتب الي في الاسل الجديد بدون عمل ريستارت للسيرفر ؟
  15. addEventHandler("onClientVehicleEnter",root, function (cars) local car = getPedOccupiedVehicle ( cars ) if isElement ( fateha ) then attachElements ( fateha,car ); end end ) مانجحت
  16. addEventHandler("onClientVehicleEnter",root function () if isElement ( fateha ) then attachElements ( fateha,source ); end end ) نفس الشي مايشتغل شكلكم مافهمتو طلبي اريد السبيكر يركب معي في السيارة والصوت يروح معي في السيارة متل مود الاغاني
  17. ?? addEventHandler("onClientVehicleEnter",root function () if isElement ( fateha ) then attachElements ( fateha,aMyVehicle ); end; end )
  18. ماعرفت استخدم ال is Element
  19. بعرف انا اريده بهاد الشكل + يعني ابي الاحداتيات تروح معي
  20. السلام عليكم انا عملت مود سور واعملت كل شي عموما اريد لما اركب سيارة يروح معي الصوت يعني متل مود الاغاني addEventHandler("onClientResourceStart", resourceRoot, function() img = guiCreateStaticImage(457, 296, 567, 472, "PNGG.png", false) guiSetVisible(img,false) close = guiCreateButton(0, 0, 105, 36, "ايقاف", false,img) bacara = guiCreateButton(397, 43, 138, 31, "سورة البقرة", false, img) local font0_EmblemaOne = guiCreateFont("EmblemaOne.ttf", 10) guiSetFont(bacara, font0_EmblemaOne) guiSetProperty(bacara, "NormalTextColour", "FFFEFEFE") kahf = guiCreateButton(397, 126, 138, 31, "سورة الكهف", false, img) guiSetFont(kahf, font0_EmblemaOne) guiSetProperty(kahf, "NormalTextColour", "FF0ABF05") Eklas = guiCreateButton(35, 49, 138, 31, "سورة الاخلاص", false, img) guiSetFont(Eklas, font0_EmblemaOne) guiSetProperty(Eklas, "NormalTextColour", "FFB7A50B") flk = guiCreateButton(35, 126, 138, 31, "سورة الفلق", false, img) guiSetFont(flk, font0_EmblemaOne) guiSetProperty(flk, "NormalTextColour", "FF20A199") fatrha = guiCreateButton(230, 14, 94, 25, "سورة الفاتحه", false, img) guiSetFont(fatrha, font0_EmblemaOne) nas = guiCreateButton(35, 225, 138, 31, "سورة الناس", false, img) guiSetFont(nas, font0_EmblemaOne) guiSetProperty(nas, "NormalTextColour", "FF48417F") msd = guiCreateButton(35, 325, 138, 31, "سورة المسد", false, img) guiSetFont(msd, font0_EmblemaOne) guiSetProperty(msd, "NormalTextColour", "FFBF5D5D") nazeat = guiCreateButton(210, 370, 138, 31, "سورة النازعات", false, img) guiSetFont(nazeat, font0_EmblemaOne) guiSetProperty(nazeat, "NormalTextColour", "FFBF5D5D") nba = guiCreateButton(397, 233, 138, 31, "سورة النبأ", false, img) guiSetFont(nba, font0_EmblemaOne) guiSetProperty(nba, "NormalTextColour", "FFBA0909") tkatr = guiCreateButton(397, 325, 138, 31, "سورة التكاثر", false, img) guiSetFont(tkatr, font0_EmblemaOne) guiSetProperty(tkatr, "NormalTextColour", "FFBF5D5D") lable = guiCreateLabel(183, 157, 208, 175, "سور من القر أن الكريم طبعا\nهذه السور يمكنك سماعها والذي بجانبك \nايضالا يمكنه االسماع\nنتمنا لكم الاستمتاع في السيرفر \nوالسلام عليكم ورحمة الله", false, img) local font1_EmblemaOne = guiCreateFont("EmblemaOne.ttf", 13) guiSetFont(lable, font1_EmblemaOne) guiLabelSetColor(lable, 0, 0, 0) end ) function imgg() if guiGetVisible(img) then guiSetVisible(img,false) showCursor(false) else guiSetVisible(img,true) showCursor(true) end end bindKey("F2","down",imgg) addEventHandler("onClientGUIClick",root, function () if source == bacara then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/002.mp3",x,y,z) setSoundMaxDistance( fateha, 1000 ) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == fatrha then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/001.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == Eklas then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/112.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == kahf then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/018.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == flk then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/113.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == nas then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/114.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == nazeat then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/079.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == nba then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/078.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == tkatr then destroyElement(ob) stopSound(fateha) local x,y,z = getElementPosition(localPlayer) fateha = playSound3D("http://server12.mp3quran.net/maher/102.mp3",x,y,z) ob = createObject(2229,x,y+1,z-1) end end ) addEventHandler("onClientGUIClick",root, function () if source == close then destroyElement(ob) stopSound(fateha) end end )
  21. السلام عليكم ورحمة الله وبركاته اريد اعمل صورة تدور حول نفسها ياريت الاكواد
×
×
  • Create New...