Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. I used a timer that keeps repeating to check the players health, If it was more than 10 then the image is hidden, Put if his health was 10 or less the picture will appear ... If it didn't work tell me ..
  2. هذي قواعد بيانات تحفظ فيها المعلومات
  3. كيف يعني تسجيل دخول تلقائي؟
  4. اظن هالكود ما يتحرك الماركر مع السيارة يلصق الأشياء ببعضها attachElements فحيتحرك الماركر مع السيارة
  5. !إذا ما راح تستخدم إفنت ماله داعي الفنكشن
  6. الله يعافيكـ
  7. local x,y,z = getElementPosition(car7) local marker = createMarker ( x,y,z+1, "arrow", 2,255, 0, 0, 170 ) addEventHandler("onVehicleEnter",resourceRoot, function () attachElements (marker,car7,0,0,2) end ) الزائد في السطر 2 بعده واحد, غيرها لـ 1.5, 2, 2.5 لين يزبط معك
  8. local x,y,z = getElementPosition(car7) local marker = createMarker ( x,y,z+1, "arrow", 2,255, 0, 0, 170 ) addEventHandler("onVehicleEnter",resourceRoot, function () attachElements (marker,car7,0,0,2) end )
  9. Buttons = function() local Edit = guiGetText(mEdit) if source == mClose then guiSetVisible(mWin, false) showCursor(false) guiSetInputEnabled(false) elseif source == mSend then if guiCheckBoxGetSelected(mCheck) then triggerServerEvent("tSend", getLocalPlayer(),Edit) else triggerServerEvent("fSend", getLocalPlayer(),Edit) end elseif source == mFake then if guiCheckBoxGetSelected(mCheck) then triggerServerEvent("tFake", getLocalPlayer(),Edit) else triggerServerEvent("fFake", getLocalPlayer(),Edit) end end addEventHandler("onClientGUIClick", getRootElement(), Buttons)
  10. .. والله مو كسل بس المواضيع كلها لها نفس الإسم, عالعموم ما أبغى احرف مسار الموضوع
  11. thePlayer = ?? not defined! Sorry, I've done it in a rush, But DNL291 fixed it ..
  12. PaiN^

    music help

    He want's to play a sound when someone gets in a car, But he want's all players in the car to hear that sound
  13. !مشكوررين الكل, تمت الإفادة
  14. s: بس كذا راح يصير لآق, في 10 تايمرات تقريباً
  15. pp = guiCreateProgressBar(535, 10, 294, 41, false) guiSetVisible(pp, false) function show() if guiGetVisible(pp) then guiSetVisible(pp, false) else guiSetVisible(pp, true) end end bindKey("F3", "down", show) function checkVehicles() local id = getElementModel ( source ) if id == 411 then guiProgressBarSetProgress( pp, guiProgressBarGetProgress( pp ) + 1 ) end end addEventHandler("onClientPlayerVehicleEnter", root, checkVehicles)
  16. يب لازم تورنت, حمل التورنت من هنا + التورنت مرة مفيد مداك تحمل افلام, العاب, برامج بسرعة احسن من التحميل العادي يعني منت خسران شي + هذا موقع ملفات تورنت ممتاز, دايم أحمل منه isohunt.com
  17. السلام عليكم تظهر بشويش \ تختفي بشويش GUI يا إخوان أبي الكود إللي يخلي نافذة ! زي مود الشات الخاص وشكراً
  18. getPlayerCount() -_-" واضح إنه سيرفر
  19. I think it's only possible with shaders !
  20. client : function playTheSound ( ) if not ( isTimer ( timer ) ) then timer = setTimer ( function ( ) end, 8000, 1 ) team = getPlayerTeam ( localPlayer ) if ( team ) and ( getTeamName ( team ) == 'اسم الفريق' ) then playSound ( 'headshot.mp3' ) outputChatBox ( 'Instant text!' ) end end end bindKey ( 'num_4', 'down', playTheSound )
  21. ! السكربت يبغاله مجهود وخبرة, وإللي مو عاجبه السعر مو لازم يشتري بالتوفيق أخوي أحمد
  22. local sx, sy = guiGetScreenSize ( ) local image = guiCreateStaticImage(0,0,sx,sy,"image.png",false) guiSetVisible ( image, false ) addEventHandler ( "onClientPlayerDamage", localPlayer, function ( ) setTimer ( function ( ) local health = getElementHealth ( source ) outputChatBox ( "Your health is: ".. math.floor ( health ) .."%" ) if ( health <= 10 ) then guiSetVisible ( image, true ) else guiSetVisible ( image, false ) end end, 5000, 0 ) end )
×
×
  • Create New...