Jump to content

jafar

Members
  • Posts

    1,434
  • Joined

  • Last visited

Everything posted by jafar

  1. كل مود يحتاج ملف ميتا خاص فيه عشان يشغل المود ..
  2. احذف unpack الطلب الثاني getPlayerTeam getTeamFromName
  3. ما راح يشتغل بدون ما تعطيه الخاصية من mtaserver.conf -- المود موجود مع حزمة المودات الاساسية
  4. هي الباسووردات مشفرة لكن اذا تبي تشفر شي ثاني استخدم sha256
  5. هي توقف اللوب ,, هذا مثآآل يجيب أسماء 3 فقط من اللاعبين ,, وإذا كان أكثر راح يوقف اللوب بإستخدام دالة break for i, p in ipairs ( getElementsByType ( "player" ) ) do if i > 3 then break end outputChatBox ( getPlayerName ( p ) ); end
  6. onVehicleDamage destroyElement
  7. -- Server Side ~! addEventHandler ( "onMarkerHit", إسم الماركر, function ( element ) if getElementType ( element ) == "player" then if getPlayerTeam ( element ) and getPlayerTeam ( element ) == getTeamFromName ( "enksar" ) then outputChatBox ( "* تم دخولك للمنطقة المحمية", element, math.random ( 255 ), math.random ( 255 ), math.random ( 255 ), true ); else outputChatBox ( "* انت غير موجود في تيم انكسار ", element, math.random ( 255 ), math.random ( 255 ), math.random ( 255 ), true ); end end end );
  8. مآتقدر بلونين ..
  9. حمل ذي النسخة nightly https://nightly.multitheftauto.com/mtasa-1.3.5-fu ... 140203.exe
  10. عكس القيمة , يعني إذا كان true يخليه false
  11. للعلم المتغيرات ماتجي string ""
  12. https://community.multitheftauto.com/in ... includes=1 جرب أحين : )
  13. أها انت جامر : )
  14. هذا مثال, وإنت كمل عليه ~ addCommandHandler ( "fix", function ( plr ) local rPlayer = getRandomPlayer ( ); local rVehicle = getPedOccupiedVehicle ( rPlayer ); if rVehicle then if getElementHealth ( rVehicle ) < 1000 then fixVehicle ( rVehicle ); givePlayerMoney ( plr, 500 ); end end end );
  15. الكود الي فوق خطأ , انت تبيه يكتب اسم اللاعب الي يبي يصلح سياراته ولا وش ؟
×
×
  • Create New...