-
Posts
319 -
Joined
-
Last visited
Everything posted by d43dr4
-
خلص تم شكرا يرجى حذف الموضوع
-
لا اقصد اذا فيه مود يشغلهم معا بعض مود واحد بس يجمعهم
-
السلام عليكم شباب اتمنى تكون في اتم العافية بدي اطلب كود سكربت لما يتشغل هذا السكربت يشغل معه الاكواد ذي 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 تراني طفشت كل شوي لما ادخل اعيد وضع الكودات و شكرا مسبقا ^^
-
وريني محاولتك + لازم تعدل على سطر 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 )
-
يا اخي حاولت ما زبط انا قبل ما اطرح الموضوع احاول وحدي ^^ الرجاء تعديل صحيح ما يخرب سكربت
-
السلام عليكم و رحمة اللع تعالى و بركاته ابي تعدلون على سكربت وظيفة السكربت هو مقر خاص بس الوظيفة ذي هي تخلي اللي يدخل المقر و شخصيته مو 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 )
-
يا عناد نعم جربتها ك ملف لوا على شكل سكربت ما شغلت + سكربت حقك يجي في الشات كتابة بس السرعة ما تتغير
-
Command executed! Result: nil
-
function fireSpeed () if getPlayerFromName == "#[iMr][E'rrOr]_N" then --getWeaponProperty ( M4, "pro", "firing_speed" ) end end
-
عنــآد لهنت الكود كامل تراني حاولت باسمي ، بسريالي و ما عرفت كيف اسويها ابي اطلق بسرعة وحدي في السيرفر
-
يا اخي ذا مو شغال + "firing_speed" مو "move_speed" بالاضافة انا ابيه لي وحدي مو لكل السيرفر
-
حاولت اسوي كود و ما عرفت GetWeaponProperty وش الحل ممكن تعطني كود اذا تبي ؟
-
شباب في طريقة لاطلاق سلاح بسرعة ؟
-
السلام عليكم و رحمة الله تعالى و بركاته اتمنى تكونو شباب في اتم العافية بدي اطلب كودين مكتملين الاول لجعل نفسي لا اموت في اللعبة ^^ يعني دم لا ينقص ابدا و الثاني لجعل سيبر ديقل ، او سيبر سنايبر او اي سلاح عندي واحد لكن يجعل السيرفر كله عندهه سيبر ديقل addEventHandler("onPlayerDamage",root, function(i,w) if (w == 24) then killPed(source,i,w) end end)' اذا تحتاجو اسمي شوفو تحت شكرا مسبقا
-
وش تظن نفسك ؟ مسوي تتمسخر علي
-
عمر اقصد سيارة معينة مو كل السيارات من هذا الموديل + ما عرفت اسويها **
