Jump to content

Abdul KariM

Members
  • Posts

    2,711
  • Joined

  • Days Won

    42

Everything posted by Abdul KariM

  1. @Kara ما دام اسم الحساب سترنق لين ترجع تجيب اسمه من جديد حاط سترنق وهي للاعب getPlayerAccount وعندك غلط في
  2. ع اساس مالك يد بالموضوع 90 % من الاعضاء مسمجين هنا ومنهم انا
  3. addCommandHandler ( "spectatem" , function ( player ) for _ ,v in ipairs ( getElementsByType ( "vehicle" ) ) do if ( getElementModel ( v ) == 407 ) then local aPlayer = getVehicleController ( v ) if ( aPlayer ) then setCameraTarget ( player , aPlayer ) break end end end end ) بالويكي SetCameraTarget راجع ملاحظة وحط الكود سيرفر سايد
  4. يعني كتبت الامر السائق الي تبي تجيبه لاعب محدد ولا اي لاعب كذا وكم موديل السيارة الي تبي تشوف لاعبها
  5. طيب تبي سيارة عن طريق اللوب ولا تبي سيارة لاعب محدد ولا ؟
  6. مافهمت شي والله ايش تبي تسوي
  7. function aCheckCars ( ) local aVehicle = getPedOccupiedVehicle( localPlayer ) if ( aVehicle and isElementInWater( aVehicle ) ) then if ( getElementModel ( aVehicle ) == 407 ) then setElementPosition( aVehicle ,201.71985, 1887.42810, 17.64806 ) setElementDimension( aVehicle ,0 ) end end end setTimer ( aCheckCars,1000,0 )
  8. لا شغال لكن انت ماتعرف تستخدمه
  9. setTimer ( function ( ) bindKey ( Settings.key, "down", function ( ) -- You're Code end ) end , 1500 , 1 )
  10. احذف اللوكال وخلي تايمر لمدة ثانية ونص عشان تفعل bindkey
  11. انت شفت ردي بموضوعك السابق ؟
  12. local aMin = 5 local aSec = 0 addEventHandler("onClientGUIClick",root, function ( ) if ( source == aButton ) then if ( isTimer ( aTimer ) ) then return end guiSetEnabled ( aButton , false ) guiSetText ( aButton , "please wait " .. tostring ( aMin ) .. ":" .. tostring ( aSec ) ) aTimer = setTimer ( function ( ) if ( aMin <= 0 and aSec <= 0 ) then guiSetEnabled ( aButton , true ) guiSetText ( aButton , "Click Here ..." ) -- الامر الي تبي تسويه اذا كان الزر مفتوح if ( isTimer ( aTimer ) ) then killTimer ( aTimer ) end aMin = 5 aSec = 0 else aSec = aSec -1 if ( aSec <= 0 and aMin ~= 0 ) then aMin = aMin -1 aSec = 59 end guiSetText ( aButton , "please wait " .. tostring ( aMin ) .. ":" .. tostring ( aSec ) ) end end , 1000 , 0 ) end end ) ; بأسم الزر حقك aButton بدل وحط الامر الي تبي تسويه بدل guiSetText ( aButton , "Click Here ..." )
  13. @Master_MTA والكود الي انا مسويه وش
  14. ترا الكود الي حاطه لك بالموضوع فوق افضلك من الخبصه الي مسويها بس عدل التايمر وانتهينا
  15. استفيد من ردي بالموضوع
  16. @#_iMr.[E]coo انت حاط حدث غلط الحدث هذا يتفعل اذا الاعب الشبح قتل لاعب stealth واتوقع يختص بقيم مود وهذا غلط الصحيح الي حطيته فوق
  17. "onClientPlayerDamage" هذا يتكنسل "onPlayerDamage" مايتكنسل
  18. 'onClientGUIDoubleClick' guiGridListClear guiGridListAddRow guiGridListSetItemText
  19. احذف السطر الثاني
  20. العفو حياك بأي وقت
  21. local x,y = guiGetScreenSize ( ) local playerName = getPlayerName ( localPlayer ) local aColor = tocolor ( 255, 255, 255, 255 ) function drawStuff() dxDrawText ( "Welcome " .. playerName, x/3.5, y/3.6, x, y, aColor , 1, "bankgothic" ) dxDrawText ( "Welcome " .. playerName, x/3.48, y/3.58, x, y, tocolor ( 0, 0, 0, 255 ), 1, "bankgothic" ) dxDrawLine ( x/3.6, y/3.3, x/1.35, y/3.3, aColor, 2 ) dxDrawLine ( x/3.59, y/3.275, x/1.348, y/3.275, tocolor ( 0, 0, 0, 255 ), 2 ) end addEventHandler("onClientRender", root, drawStuff) addCommandHandler ( "ChangeColor" , function ( ) aColor = tocolor ( 255 , 0 , 255 , 255 ) end ) ChangeColor اكتب باف8 وراح تشوف اللون يتغير
  22. سوي متغير وخلي قيمته لون ابيض Mouse_Wheel_down وبعدين اذا ضغط على تغير قيمة المتغير الى الي اللون الي تبيه
  23. -- عشان يشتري دم "onClientGUIClick" setElementData -- كمية الدم -- تفعيل الدم "onClientGUIClick" getElementData -- جلب كمية الدم triggerServerEvent addEvent addEventHandler setElementHealth setElementData -- false
×
×
  • Create New...