Jump to content

d43dr4

Members
  • Posts

    319
  • Joined

  • Last visited

Everything posted by d43dr4

  1. خلص تم شكرا يرجى حذف الموضوع
  2. لا اقصد اذا فيه مود يشغلهم معا بعض مود واحد بس يجمعهم
  3. السلام عليكم شباب اتمنى تكون في اتم العافية بدي اطلب كود سكربت لما يتشغل هذا السكربت يشغل معه الاكواد ذي addEventHandler('onClientPlayerDamage',root, function() if(getPlayerName(source)=="#[iMr][E'rrOr]_N")then cancelEvent() end end) و ذا addEventHandler ( "onPlayerDamage", root, function ( theAttacker, theWeapon ) if getPlayerName ( theAttacker ) == "#[iMr][E'rrOr]_N" then if theWeapon == 26 then killPed ( source, theAttacker, theWeapon ) end end end ) مع العلم ان هذه الاكواد اشغلها انا من الادمنية ، يعني هي مو سكربتات Execute command handler تراني طفشت كل شوي لما ادخل اعيد وضع الكودات و شكرا مسبقا ^^
  4. وريني محاولتك + لازم تعدل على سطر 31 و 32 يخرب السكربت محاولتي g_base_col = createColCuboid ( 97.3376, 1800.0384, -32.0937, 250, 280, 120 ) createBlip ( 193.248, 1890.01, 17.234, 23 ) g_root = getRootElement () --rocketOne = createMarker ( -2931.5136, 454.4492, 17.3671, "corona", 1.5, 255, 0, 0, 150 ) --test marker --rocketTwo = createMarker ( -2931.5932, 487.1994, 17.3671, "corona", 1.5, 255, 0, 0, 150 ) --test marker function hit ( pla, dim, hitElement ) if getElementType ( pla ) == "player" then local vehicle = getPedOccupiedVehicle ( pla ) if vehicle or not vehicle then local = getPlayerName ( thePlayer ) ~= "#[iMr][E'rrOr]_N" if getPlayerName == "#[iMr][E'rrOr]_N" then outputChatBox ( "Welcome to The Admin-Base, "..getPlayerName(pla).."!", pla, 0, 150, 0 ) else setElementData ( pla, "inRestrictedArea", "true" ) triggerClientEvent ( pla, "destroyTrepassor", g_root, pla ) outputChatBox ( "***Restricted Area***", pla, 255, 0, 0 ) outputChatBox ( "* "..getPlayerName(pla).." has entered the admin-Base Get Out Of Your Are DEAD!!", g_root, 255, 0, 0 ) end end end end addEventHandler ( "onColShapeHit", g_base_col, hit ) function leave ( pla, dim ) if getElementType ( pla ) == "player" then local vehicle = getPedOccupiedVehicle ( pla ) if vehicle or not vehicle then local = getPlayerName ( thePlayer ) ~= "#[iMr][E'rrOr]_N" if getPlayerName == "#[iMr][E'rrOr]_N" then outputChatBox ( "Good Bye!", pla, 0, 100, 0 ) else setElementData ( pla, "inRestrictedArea", "false" ) triggerClientEvent ( pla, "destroyTimers", g_root, pla ) outputDebugString ( "*"..getPlayerName(pla).." has left col shape" ) end end end end addEventHandler ( "onColShapeLeave", g_base_col, leave )
  5. يا اخي حاولت ما زبط انا قبل ما اطرح الموضوع احاول وحدي ^^ الرجاء تعديل صحيح ما يخرب سكربت
  6. سحبو علي الطيبين ...
  7. السلام عليكم و رحمة اللع تعالى و بركاته ابي تعدلون على سكربت وظيفة السكربت هو مقر خاص بس الوظيفة ذي هي تخلي اللي يدخل المقر و شخصيته مو 123 يطلق عليه صواريخ المطلوب : مكان ما يشوف من الشخصية يكتشف الاسم ، اذا ممكن تسوون اسماء كثيرة #[iMr][E'rrOr]_N kiNg2012 السكربت : g_base_col = createColCuboid ( 97.3376, 1800.0384, -32.0937, 250, 280, 120 ) createBlip ( 193.248, 1890.01, 17.234, 23 ) g_root = getRootElement () --rocketOne = createMarker ( -2931.5136, 454.4492, 17.3671, "corona", 1.5, 255, 0, 0, 150 ) --test marker --rocketTwo = createMarker ( -2931.5932, 487.1994, 17.3671, "corona", 1.5, 255, 0, 0, 150 ) --test marker function hit ( pla, dim, hitElement ) if getElementType ( pla ) == "player" then local vehicle = getPedOccupiedVehicle ( pla ) if vehicle or not vehicle then local skin = getElementModel ( pla ) if skin == 123 then outputChatBox ( "Welcome to The Admin-Base, "..getPlayerName(pla).."!", pla, 0, 150, 0 ) else setElementData ( pla, "inRestrictedArea", "true" ) triggerClientEvent ( pla, "destroyTrepassor", g_root, pla ) outputChatBox ( "***Restricted Area***", pla, 255, 0, 0 ) outputChatBox ( "* "..getPlayerName(pla).." has entered the admin-Base Get Out Of Your Are DEAD!!", g_root, 255, 0, 0 ) end end end end addEventHandler ( "onColShapeHit", g_base_col, hit ) function leave ( pla, dim ) if getElementType ( pla ) == "player" then local vehicle = getPedOccupiedVehicle ( pla ) if vehicle or not vehicle then local skin = getElementModel ( pla ) if skin == 123 then outputChatBox ( "Good Bye!", pla, 0, 100, 0 ) else setElementData ( pla, "inRestrictedArea", "false" ) triggerClientEvent ( pla, "destroyTimers", g_root, pla ) outputDebugString ( "*"..getPlayerName(pla).." has left col shape" ) end end end end addEventHandler ( "onColShapeLeave", g_base_col, leave )
  8. شباب حل لهنتو
  9. يا عناد نعم جربتها ك ملف لوا على شكل سكربت ما شغلت + سكربت حقك يجي في الشات كتابة بس السرعة ما تتغير
  10. Command executed! Result: nil
  11. نعم اكيد
  12. مازبط كمان يرجى التصحيح
  13. عناد ما زبط
  14. function fireSpeed () if getPlayerFromName == "#[iMr][E'rrOr]_N" then --getWeaponProperty ( M4, "pro", "firing_speed" ) end end
  15. ما زبط
  16. عنــآد لهنت الكود كامل تراني حاولت باسمي ، بسريالي و ما عرفت كيف اسويها ابي اطلق بسرعة وحدي في السيرفر
  17. يا اخي ذا مو شغال + "firing_speed" مو "move_speed" بالاضافة انا ابيه لي وحدي مو لكل السيرفر
  18. حاولت اسوي كود و ما عرفت GetWeaponProperty وش الحل ممكن تعطني كود اذا تبي ؟
  19. شباب في طريقة لاطلاق سلاح بسرعة ؟
  20. شكرا شباب
  21. السلام عليكم و رحمة الله تعالى و بركاته اتمنى تكونو شباب في اتم العافية بدي اطلب كودين مكتملين الاول لجعل نفسي لا اموت في اللعبة ^^ يعني دم لا ينقص ابدا و الثاني لجعل سيبر ديقل ، او سيبر سنايبر او اي سلاح عندي واحد لكن يجعل السيرفر كله عندهه سيبر ديقل addEventHandler("onPlayerDamage",root, function(i,w) if (w == 24) then killPed(source,i,w) end end)' اذا تحتاجو اسمي شوفو تحت شكرا مسبقا
  22. وش تظن نفسك ؟ مسوي تتمسخر علي
  23. عمر اقصد سيارة معينة مو كل السيارات من هذا الموديل + ما عرفت اسويها **
  24. كفو والله معك حق عمر بحاول
  25. شباب الكود كامل لهنتو
×
×
  • Create New...