Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. setVehicleEngineState
  2. مشكووور تابل + أدري غلبتك معي بس والله ودي اتعلمـ بسرعة
  3. إذا تبي ماحد يقدر يضرب إلا الشرطة marker = createMarker( X, Y, Z, "cylinder", 50, 0, 255, 0, 0 ) addEventHandler( "onMarkerHit", root, function ( ) if ( getElementType ( source ) == "player" ) then local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) ~= "Police" ) then toggleControl( source, "fire", false ) toggleControl( source, "aim_weapon", false ) end end end ) addEventHandler( "onMarkerLeave", root, function ( ) if ( getElementType ( source ) == "player" ) then toggleControl( source, "fire", true ) toggleControl( source, "aim_weapon", true ) end end ) وإذا شي ثاني, ياليت توضح أكثر
  4. كودي فيه أغلاط يا تابل ؟؟
  5. showPlayerHudComponent ??!! -_-"
  6. جرب ذا --> Server side addEventHandler( "onResourceStart", root, function( ) setTeamFriendlyFire( getTeamFromName( "Police" ) ,true ) end ) addEventHandler( "onPlayerWasted", root, function ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent ( ) end end end addEventHandler( "onPlayerDamage", root, function ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent () end end end وإذا ما إشتغل إطرح الميتا
  7. --> Server addEventHandler("onResourceStart",getRootElement(), function() setTeamFriendlyFire( getTeamFromName( "Police" ) ,false ) end ) addEventHandler( "onPlayerWasted", root, function immortal ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent () end end end addEventHandler( "onPlayerDamage", root, function immortal ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent () end end end
  8. PaiN^

    jizzy's club

    --id="WUZIBET" destroyElement (getElementByID(WUZIBET)) -- destroyElement (getElementByID(WUZIBET,5)) -- or with index. Small ( g ) in getElementByID
  9. ^ عندكـ خطأ في الإختصار بكود منع التصويب , بالحدث حق الخروج من الماركر الخطأ في سطر 20 toggleControl ( hitPlayer, "aim_weapon", true ) التصحيح toggleControl ( leftPlayer, "aim_weapon", true ) + لما تنسخ كود مهو لكـ , إذكر المصدر + انت ضايف على الكود > سطر رقم 20 وغلط https://forum.multitheftauto.com/viewtopic.php?f=160&t=53604&p=520285#p520285 مشكور أخوي أسامة على التعديل بس أنا مانسخت كودك أبداً, أنا غلطت لأني نسخت الكود إلي حطه تابل ونسيت اغير hitPlayer إلى leftPlayer عالعموم أهم شي إنه تم اللإفادة
  10. Mr.Pres[T]ege false مو true المفروض تكون ولا أنا غلطان ؟؟
  11. يبيلك درس قواعد الكاف في لك مايبي له شرح ولا شي مود مافيه اسهل منه بالنسبة لك , لكن صعب على غيرك ضمير متصل في يدل على --> Mr.T9 مو علي أنا
  12. team1 = createTeam("ARMY") team2 = createTeam("Danger") setTeamFriendlyFire(team1,true) setTeamFriendlyFire(team2,true)
  13. مايبي له شرح ولا شي مود مافيه اسهل منه بالنسبة لك , لكن صعب على غيرك
  14. OK !! مشكورين Booo + TD[M]ER تمت الإفادة
  15. السلآمـ عليكمـ أنا حملت برنامج GUIeditor وهو شغال وتمام في السيرفر بس لمن أخلص وأسويله حفظ وأروح أفتح الملف ما ألقى شي أتمنى تساعدوني
  16. العفو يالغالي
  17. شلون أضيف ملف الصوت للميتا ؟؟
  18. تكفى عناد قسم دخت وانا احاول اطرح الكود كامل تكفى
  19. إستخدم triggerServerEvent
  20. "onVehicleStartEnter" server side only -_-"
  21. مافي فنكشن اسمه getElementSpeed -_-"
  22. It has no sense . Well, Can you fix it please
  23. +1
  24. -- Client !! addEvent( "onHighSpeed", true ) addEventHandler( "onHighSpeed", root, function ( ) if ( getElementType ( source ) == "player" ) and ( isPedInVehicle ( source ) ) then local Vehicle = getPedOccupiedVehicle ( source ) local Speed = getElementVelocity ( Vehicle ) if ( Speed >= 100 ) then playSound ( "Sound.mp3", true ) else cancelEvent() end end end ) حاس إن فيه أغلاط بس إن شاء الله يشتغل
×
×
  • Create New...