Jump to content

3NAD

Members
  • Posts

    1,992
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by 3NAD

  1. ^ أضف شرط إذا كآن سيريال الفاعل == " سيريالكـ " نفذ الآتي
  2. لول هو عطاكـ 90% من اللي تبيه # lua يعني حس و ضف له إيفنت ولا زر ولا كلمة أي شيء و حطه في ملف + رح تآب ريسورس بـ لوحة الأدمنية Execute Command Handler عند و اكتب givePlayerMoney ( root, 1000 ) واضغط سيرفر ^ مآجربت بس يمكن تضبط ذذ
  3. Set و Get في فرق بين ^^
  4. addEventHandler ( "onPlayerDamage", root, function ( theAttacker, theWeapon ) if getPlayerSerial ( theAttacker ) == "Your Serial" then if theWeapon == 24 then killPed ( source, theAttacker, theWeapon ) end end end )
  5. -- لم يتم التجربة addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType("vehicle") ) do if ( getElementModel ( v ) == 411 ) then createBlipAttachedTo ( v, 55 ) end end end )
  6. addCommandHandler ( "vehicle", function ( thePlayer ) if isObjectInACLGroup ( "user." ..getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "RPC" ) ) then x, y, z = getElementPosition ( thePlayer ) theVehicle = createVehicle ( 411, x, y + 3, z ) end end ) addEventHandler ( "onVehicleStartEnter", root, function ( thePlayer, theSeat ) if source == theVehicle then if ( theSeat == 0 ) and ( getPlayerName ( thePlayer ) ~= "#[iMr][E'rrOr]_N" ) then cancelEvent ( ) outputChatBox ( "~][ هذه السيـآرة خاصة بفخامة مستر ايرور ][~", thePlayer, 255, 255, 0, true ) else outputChatBox ( "مرحبا بك سيدي في سيـآرتك", thePlayer, 255, 0, 0, true ) end end end )
  7. -- Server Side Criminal = createTeam ( "Criminal", 255, 0, 0 ) addEvent ( "SOSO", true ) addEventHandler ( "SOSO", root, function ( ) setPlayerTeam ( source, Criminal ) end ) -- Client Side addEventHandler("onClientGUIClick", root, function ( ) if source == Criminal then triggerServerEvent ( "SOSO" , localPlayer ) end end )
  8. هو بـ كلنت كيف تسوي تريقر لـ كلنت ذذ
  9. -- Server Side theMarker = createMarker ( 187.79888916016, 1388.2546386719, 2, "cylinder", 100, 255, 255, 0, 170 ) addEventHandler ( "onMarkerHit", theMarker, function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == getTeamFromName ( "M.H" ) then setElementHealth ( thePlayer, 0 ) end end end )
  10. بس الكود أصله ماركر من جاب طاري الكول شيب ؟
  11. -- use setTimer marker5 = createMarker ( 1379.8220214844, -945.32458496094, 2171.8156738281, "cylinder", 2, 0, 0, 255, 255 ) addEventHandler ( "onMarkerHit", marker5, function ( hitPlayer ) if ( getTeamName ( getPlayerTeam ( hitPlayer ) ) == "Criminal" ) then setMarkerColor ( marker5, 255, 0, 0, 255 ) setTimer ( setElementPosition, 5000, 1, hitPlayer, 1383.1614990234, -942.83343505859, 2172.8156738281 ) outputChatBox ( "* Wait 5 Seconds.", hitPlayer, 255, 255, 0, true ) end end )
  12. addEventHandler ( "onClientGUIClick", root, function ( ) if source == أسم الزر then fadeCamera ( true ) end end )
  13. تبي احط حجمه دبل إكس لارج ؟؟
  14. copy تقدر تحدد على الإلمنت كلك يمين " خيارات " ثم كلمة guieditor إذا تستخدم move و بعدها اضغط على نفس الإلمنت كلك يمين و كلمة
  15. -- Server Side theMarker = createMarker ( 187.79888916016, 1388.2546386719, 2, "cylinder", 100, 255, 255, 0, 170 ) addEventHandler ( "onMarkerHit", theMarker, function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == getTeamFromName ( "M.H" ) then moveObject ( dor1, 1000, -1736.5, 943.79998779297, 20 ) end end end ) + ماشوفك استخدمت createObject
  16. الأول سيرفر والثاني كلنت اطرح تعريف الميتا حقك
  17. استخدم إيفنت "onClientMarkerLeave" والباقي عليك
  18. -- Server Side addEventHandler ( "onElementClicked", root, function ( _, _, thePlayer ) acc = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user.".. acc, aclGetGroup ( "Police" ) ) then if getElementType ( source ) == "player" then killPed ( source, thePlayer ) elseif getElementType ( source ) == "vehicle" then destroyElement ( source ) end end end ) -- Client Side bindKey ( "a", "down", function ( ) showCursor ( not isCursorShowing() ) end )
  19. -- Client Side theMarker = createMarker ( 0, 0, 0, "cylinder", 3, 255, 255, 0, 170 ) addEventHandler( "onClientMarkerHit", theMarker, function ( ) setTime ( 21, 00) setWeather ( 16 ) end )
×
×
  • Create New...