Jump to content

Mr-Kartha

Members
  • Posts

    185
  • Joined

  • Last visited

Everything posted by Mr-Kartha

  1. السكربت ذا كلنت + سيرفر يا قلبي عشان كذا onPlaySoundNearElement يا اخويا ض1
  2. السلام عليكم كيفكم اخباركم الهمم سويت مود بس باقي شي والله مو عارف اسويه ابي يطلع صوت بعد الاقفال يعني اذا جا PLAYER يفتح الموتر يحي onPlaySound واسم الصوت مثلا انا اجيبه يكون mp3 -- local player localPlayer = getLocalPlayer ( ) -- playSoundNearElement addEvent ( "onPlaySoundNearElement", true ) function playSoundNearElement ( theElement, sound ) -- local sound = 5 local maxdist = 15.0 -- valid element if ( theElement ) then local x,y,z = getElementPosition ( theElement ) local x2,y2,z2 = getElementPosition ( localPlayer ) local dist = getDistanceBetweenPoints3D ( x, y, z, x2, y2, z2 ) -- distance is less than parameter maxdist if ( dist < maxdist ) then -- play parameter sound playSoundFrontEnd ( 5 ) -- outputChatBox ( "sound should play" ) else -- outputChatBox ( "not in range" ) end else -- outputChatBox ( "invalid element" ) end end addEventHandler ( "onPlaySoundNearElement", getRootElement(), playSoundNearElement )
  3. اممم هو الي مسويه يا تيتي
  4. المتحدث الرسمي هههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه تبا لك
  5. وضح أكثر يعني ابي النافذه تتحرك مو النص
  6. تظهر شوي وتختفي وهي في محلها ما تحرك
  7. هاذي لـ معرفة حجم النافذه
  8. السلام عليكم ورحمة الله وبركاته كيف بحرك النافذه هاذي من اليسار الى الوسط GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Image[1] = guiCreateStaticImage(0.4675,0.08,0.5213,0.9183,"images/kartha.png",true) GUIEditor_Label[1] = guiCreateLabel(9,147,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[1],"sa-gothic") GUIEditor_Image[2] = guiCreateStaticImage(71,157,91,91,"images/!Repair.png",false,GUIEditor_Image[1]) GUIEditor_Image[3] = guiCreateStaticImage(238,157,93,90,"images/!Flip.png",false,GUIEditor_Image[1]) GUIEditor_Button[1] = guiCreateButton(72,248,93,22,"ßЦ¥ RЄÂpĪR ",false,GUIEditor_Image[1]) GUIEditor_Button[2] = guiCreateButton(242,247,93,22,"ßù¥ բĿĪp",false,GUIEditor_Image[1]) GUIEditor_Image[4] = guiCreateStaticImage(76,273,92,85,"images/!Nitro.png",false,GUIEditor_Image[1]) GUIEditor_Button[3] = guiCreateButton(76,357,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Image[5] = guiCreateStaticImage(244,271,93,88,"images/!Invisible.png",false,GUIEditor_Image[1]) GUIEditor_Button[4] = guiCreateButton(246,359,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Label[2] = guiCreateLabel(10,387,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[2],"sa-gothic") GUIEditor_Label[3] = guiCreateLabel(316,364,5,5,"",false,GUIEditor_Image[1]) GUIEditor_Label[4] = guiCreateLabel(11,399,399,17,"اختصارات الشوب لكي تسهل عليك الشراء ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(172,424,205,22,"bind 1 buy reapir",false,GUIEditor_Image[1]) GUIEditor_Edit[2] = guiCreateEdit(173,451,205,22,"bind 2 buy flip",false,GUIEditor_Image[1]) GUIEditor_Edit[3] = guiCreateEdit(172,478,205,22,"",false,GUIEditor_Image[1]) GUIEditor_Edit[4] = guiCreateEdit(174,477,205,22,"bind 3 buy nitro",false,GUIEditor_Image[1]) GUIEditor_Edit[5] = guiCreateEdit(173,504,208,22,"bind 4 buy invisible",false,GUIEditor_Image[1]) GUIEditor_Label[5] = guiCreateLabel(11,426,161,19,"اختصار اصلاح السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Label[6] = guiCreateLabel(11,452,161,19,"اختصار تعديل السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Label[7] = guiCreateLabel(10,480,161,19,"اختصار نيترو للسيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(12,504,161,19,"اختصار اخفاء السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Label[9] = guiCreateLabel(9,50,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[10] = guiCreateLabel(9,65,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[11] = guiCreateLabel(9,80,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[12] = guiCreateLabel(9,94,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[13] = guiCreateLabel(9,109,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[14] = guiCreateLabel(9,124,397,17,"",false,GUIEditor_Image[1])
  9. هاذ للنص انا ابي للنافذه
  10. ؟؟؟؟؟؟؟؟؟
  11. ? الطريقه موجوده اصلا هع وش جبت شي جديد
  12. كيف استخدمه tooltip
  13. بجرب وبجي
  14. لأن ما شفت المود يا عاشق غير يوم رحة محترفين شفته كيف يفتح ما ابي اقلد المود اقصد انا
  15. يب يب يب يا عيني عليك
  16. لا تخاف حطه
  17. الكود مو كامل انا جبت بس الــ satTimer ولاحداثيات مثال setTimer(guiSetPosition,130,1,GUIEditor_Image[1],left,screenHeight/15- حيث 130,1 الاحداثيات
  18. احد يبي حمضيات ؟
  19. السلام عليكم لا هنتم ابي اعدل احداثيات النافذه تجي من اليمين الى الوسط function() local screenWidth, screenHeight = guiGetScreenSize() mainWidth,mainHeight = 0.4013,0.7383 local left = screenWidth/2 - mainWidth/2 local top = screenHeight/2-mainHeight/2 if guiGetVisible(GUIEditor_Image[1]) == false then guiSetVisible(GUIEditor_Image[1] , true) showCursor(true) setTimer(guiSetPosition,130,1,GUIEditor_Image[1],GUIEditor_Image[1],screenHeight/25-mainHeight/25, false ) setTimer(guiSetPosition,130,1,GUIEditor_Image[1],left,screenHeight/15-mainHeight/15, false ) setTimer(guiSetPosition,820,1,GUIEditor_Image[1],left,screenHeight/10-mainHeight/10, false ) setTimer(guiSetPosition,1000,1,GUIEditor_Image[1],left,screenHeight/4-mainHeight/4, false ) setTimer(guiSetPosition,1810,1,GUIEditor_Image[1],left,top, false ) else guiSetVisible(GUIEditor_Image[1] , false) showCursor(false) guiSetPosition(GUIEditor_Image[1],10000,10000, false) end end )
  20. هلا شكرا انا بعد استفدت
  21. يعطيك العافيه استمر يا بطل وطريقه الفعاله اهنيييك من كل قلبي
  22. setTimer ( img, 1000, 1 )
  23. في كود يوخذ اسامه
  24. طيب تعربيه ؟
×
×
  • Create New...