iMr.SFA7 Posted September 15, 2015 Share Posted September 15, 2015 ممكن شرح الويكي وآضح جداً ياليت تحاول ذذذ Link to comment
Mostafa MohammeD Posted September 15, 2015 Author Share Posted September 15, 2015 ممكن شرح الويكي وآضح جداً ياليت تحاول ذذذ طب انا بنشاء ماركر جديد ولا بكمل علي القديم انت كاتب createmarker Link to comment
0m4r Posted September 15, 2015 Share Posted September 15, 2015 -- Server Side : local myMarker = createMarker ( x, y, z, "cylinder", 15.5, 255, 255, 0, 170 ) addEventHandler( "onMarkerHit", myMarker, function (element) if ( getElementType (element) == "player" ) then setElementData ( element,"nodeath", true) toggleControl ( element, "vehicle_secondary_fire", false ) toggleControl ( element, "fire", false ) toggleControl ( element, "next_weapon", false ) toggleControl ( element, "previous_weapon", false ) toggleControl ( element, "aim_weapon", false ) toggleControl ( element, "fire", false ) end end ) addEventHandler ("onMarkerLeave",myMarker, function (element) if ( getElementType (element) == "player" ) then removeElementData ( element, "nodeath") toggleControl ( element, "vehicle_secondary_fire", true ) toggleControl ( element, "fire", true ) toggleControl ( element, "next_weapon", true ) toggleControl ( element, "previous_weapon", true ) toggleControl ( element, "aim_weapon", true ) toggleControl ( element, "fire", true ) end end ) --Client Side : addEventHandler ( "onClientPlayerDamage",localPlayer, function () if getElementData(localPlayer,"nodeath") then cancelEvent() end end) Link to comment
LoOs Posted September 15, 2015 Share Posted September 15, 2015 -- Server Side : local myMarker = createMarker ( x, y, z, "cylinder", 15.5, 255, 255, 0, 170 ) addEventHandler( "onMarkerHit", myMarker, function (element) if ( getElementType (element) == "player" ) then setElementData ( element,"nodeath", true) toggleControl ( element, "vehicle_secondary_fire", false ) toggleControl ( element, "fire", false ) toggleControl ( element, "next_weapon", false ) toggleControl ( element, "previous_weapon", false ) toggleControl ( element, "aim_weapon", false ) toggleControl ( element, "fire", false ) end end ) addEventHandler ("onMarkerLeave",myMarker, function (element) if ( getElementType (element) == "player" ) then removeElementData ( element, "nodeath") toggleControl ( element, "vehicle_secondary_fire", true ) toggleControl ( element, "fire", true ) toggleControl ( element, "next_weapon", true ) toggleControl ( element, "previous_weapon", true ) toggleControl ( element, "aim_weapon", true ) toggleControl ( element, "fire", true ) end end ) --Client Side : addEventHandler ( "onClientPlayerDamage",localPlayer, function () if getElementData(localPlayer,"nodeath") then cancelEvent() end end) خله يحاول مب تعطيه جاهز , + getElementData(localPlayer,"nodeath") وين setElementData nodeath ? Link to comment
0m4r Posted September 15, 2015 Share Posted September 15, 2015 -- Server Side : local myMarker = createMarker ( x, y, z, "cylinder", 15.5, 255, 255, 0, 170 ) addEventHandler( "onMarkerHit", myMarker, function (element) if ( getElementType (element) == "player" ) then setElementData ( element,"nodeath", true) toggleControl ( element, "vehicle_secondary_fire", false ) toggleControl ( element, "fire", false ) toggleControl ( element, "next_weapon", false ) toggleControl ( element, "previous_weapon", false ) toggleControl ( element, "aim_weapon", false ) toggleControl ( element, "fire", false ) end end ) addEventHandler ("onMarkerLeave",myMarker, function (element) if ( getElementType (element) == "player" ) then removeElementData ( element, "nodeath") toggleControl ( element, "vehicle_secondary_fire", true ) toggleControl ( element, "fire", true ) toggleControl ( element, "next_weapon", true ) toggleControl ( element, "previous_weapon", true ) toggleControl ( element, "aim_weapon", true ) toggleControl ( element, "fire", true ) end end ) --Client Side : addEventHandler ( "onClientPlayerDamage",localPlayer, function () if getElementData(localPlayer,"nodeath") then cancelEvent() end end) خله يحاول مب تعطيه جاهز , + getElementData(localPlayer,"nodeath") وين setElementData nodeath ? in the server side Link to comment
LoOs Posted September 15, 2015 Share Posted September 15, 2015 in the server side اسفين , لقد كان خطئا مطبعيا نوميا فاهويا , فلتعذرنا ياخي , لقد اصبحنا عميان لانرى ولا نسمع ولا نتكلم , Link to comment
Mostafa MohammeD Posted September 15, 2015 Author Share Posted September 15, 2015 مب فاهم شئ منكم :\ Link to comment
0m4r Posted September 15, 2015 Share Posted September 15, 2015 مب فاهم شئ منكم :\ -- Server Side : local myMarker = createMarker ( x, y, z, "cylinder", 15.5, 255, 255, 0, 170 ) addEventHandler( "onMarkerHit", myMarker, function (element) if ( getElementType (element) == "player" ) then setElementData ( element,"nodeath", true) toggleControl ( element, "vehicle_secondary_fire", false ) toggleControl ( element, "fire", false ) toggleControl ( element, "next_weapon", false ) toggleControl ( element, "previous_weapon", false ) toggleControl ( element, "aim_weapon", false ) toggleControl ( element, "fire", false ) end end ) addEventHandler ("onMarkerLeave",myMarker, function (element) if ( getElementType (element) == "player" ) then removeElementData ( element, "nodeath") toggleControl ( element, "vehicle_secondary_fire", true ) toggleControl ( element, "fire", true ) toggleControl ( element, "next_weapon", true ) toggleControl ( element, "previous_weapon", true ) toggleControl ( element, "aim_weapon", true ) toggleControl ( element, "fire", true ) end end ) --Client Side : addEventHandler ( "onClientPlayerDamage",localPlayer, function () if getElementData(localPlayer,"nodeath") then cancelEvent() end end) Link to comment
Mostafa MohammeD Posted September 15, 2015 Author Share Posted September 15, 2015 مب فاهم شئ منكم :\ -- Server Side : local myMarker = createMarker ( x, y, z, "cylinder", 15.5, 255, 255, 0, 170 ) addEventHandler( "onMarkerHit", myMarker, function (element) if ( getElementType (element) == "player" ) then setElementData ( element,"nodeath", true) toggleControl ( element, "vehicle_secondary_fire", false ) toggleControl ( element, "fire", false ) toggleControl ( element, "next_weapon", false ) toggleControl ( element, "previous_weapon", false ) toggleControl ( element, "aim_weapon", false ) toggleControl ( element, "fire", false ) end end ) addEventHandler ("onMarkerLeave",myMarker, function (element) if ( getElementType (element) == "player" ) then removeElementData ( element, "nodeath") toggleControl ( element, "vehicle_secondary_fire", true ) toggleControl ( element, "fire", true ) toggleControl ( element, "next_weapon", true ) toggleControl ( element, "previous_weapon", true ) toggleControl ( element, "aim_weapon", true ) toggleControl ( element, "fire", true ) end end ) --Client Side : addEventHandler ( "onClientPlayerDamage",localPlayer, function () if getElementData(localPlayer,"nodeath") then cancelEvent() end end) هاي اكواد جاهزة بي عدم الموت ؟؟ Link to comment
0m4r Posted September 15, 2015 Share Posted September 15, 2015 يب بس غير احداثيات الماركر Link to comment
Mostafa MohammeD Posted September 15, 2015 Author Share Posted September 15, 2015 يب بس غير احداثيات الماركر فيه شئ غلط حتي لو خرجت من الماركر يظل لا يمكنني الاطلاق Link to comment
Mostafa MohammeD Posted September 16, 2015 Author Share Posted September 16, 2015 يب بس غير احداثيات الماركر فيه شئ غلط حتي لو خرجت من الماركر يظل لا يمكنني الاطلاق طب ما في طريقة احط الماركر بلون ؟؟ Link to comment
a7zan Posted September 16, 2015 Share Posted September 16, 2015 local myMarker = createMarker ( x, y, z, "cylinder", 15.5, 255, 255, 0, 170 ) 15.5 = حجم الماركر 255,255,0 = للون الماركر 170 = شفافية Link to comment
Mostafa MohammeD Posted September 16, 2015 Author Share Posted September 16, 2015 local myMarker = createMarker ( x, y, z, "cylinder", 15.5, 255, 255, 0, 170 ) 15.5 = حجم الماركر 255,255,0 = للون الماركر 170 = شفافية سويته وظبته بس المسافة كبيرة اوي رغم اني ضابته وسويت الماركر بال ماب ايديتور + اللون بايظ سويته احمر ومب شغال وايضا اخر طلب ابيه كا يقدر يمسك السلاح يكون معه قبضة اليد فقط ويمكن ان يضرب باليد لكن لا يموت وشكرا Link to comment
Mostafa MohammeD Posted September 18, 2015 Author Share Posted September 18, 2015 شباب ساعدوني Link to comment
#DRAGON!FIRE Posted September 18, 2015 Share Posted September 18, 2015 وضح المشكلة ما ادري ليه الموضوع 3 صفحات ع شي بسيط .. الحجم غير رقم 15.5 Link to comment
Mostafa MohammeD Posted September 18, 2015 Author Share Posted September 18, 2015 وضح المشكلة ما ادري ليه الموضوع 3 صفحات ع شي بسيط ..الحجم غير رقم 15.5 انا سويت ماركر من الماب ايديتور واخذت الاحداثيات والحجم منه بسحجمه كبير واللون ما يكون ملون ليش ؟؟ Link to comment
iMr.SFA7 Posted September 18, 2015 Share Posted September 18, 2015 local myMarker = createMarker ( x, y, z, "cylinder", 5.0, 188, 0, 0, 255) Link to comment
Mostafa MohammeD Posted September 18, 2015 Author Share Posted September 18, 2015 local myMarker = createMarker ( x, y, z, "cylinder", 5.0, 188, 0, 0, 255) هيك بيكون في لون ولا لا Link to comment
Rockyz Posted September 18, 2015 Share Posted September 18, 2015 local myMarker = createMarker ( x, y, z, "cylinder", 5.0, 188, 0, 0, 255) هيك بيكون في لون ولا لا اكيد اي ! Link to comment
Mostafa MohammeD Posted September 27, 2015 Author Share Posted September 27, 2015 طب الان سويت الماركر والمود اشتغل والحمدالله بس ابي اخر شئ ابي اللاعب يمكنه ان يضرب بس بي يده فقط يعني مايقدر يضرب بي اي سلاح غير يده اتمني تفهموني وشكرا Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now