Jump to content

jafar

Members
  • Posts

    1,434
  • Joined

  • Last visited

Everything posted by jafar

  1. كل مود يحتاج ملف ميتا خاص فيه عشان يشغل المود ..
  2. احذف unpack الطلب الثاني getPlayerTeam getTeamFromName
  3. CentOS ماراح يشغلها ..
  4. هريسة -.-'
  5. ما راح يشتغل بدون ما تعطيه الخاصية من mtaserver.conf -- المود موجود مع حزمة المودات الاساسية
  6. عدل على mtaserver.conf
  7. هي الباسووردات مشفرة لكن اذا تبي تشفر شي ثاني استخدم sha256
  8. هي توقف اللوب ,, هذا مثآآل يجيب أسماء 3 فقط من اللاعبين ,, وإذا كان أكثر راح يوقف اللوب بإستخدام دالة break for i, p in ipairs ( getElementsByType ( "player" ) ) do if i > 3 then break end outputChatBox ( getPlayerName ( p ) ); end
  9. onVehicleDamage destroyElement
  10. -- 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 );
  11. مآتقدر بلونين ..
  12. string.gsub
  13. ربيتين ونص
  14. النظام القديم احسن -.-'
  15. حمل ذي النسخة nightly https://nightly.multitheftauto.com/mtasa-1.3.5-fu ... 140203.exe
  16. سطر 35 .
  17. عكس القيمة , يعني إذا كان true يخليه false
  18. إذا فضيت إن شاء الله : )
  19. للعلم المتغيرات ماتجي string ""
  20. # تم التحديث .
  21. https://community.multitheftauto.com/in ... includes=1 جرب أحين : )
  22. أها انت جامر : )
  23. هذا مثال, وإنت كمل عليه ~ 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 );
  24. الكود الي فوق خطأ , انت تبيه يكتب اسم اللاعب الي يبي يصلح سياراته ولا وش ؟
×
×
  • Create New...