mohssan123 Posted February 10, 2013 Posted February 10, 2013 السلام عليكم ابغي كود بس المس الماركر الي احدده يختفي طبعاً بعد ما يادي وظيفته مثل ماركر ينقل يقوم ينقل اللاعب و يختفي و ابغي كود اذا لمست ماركر انا احدده يطلع ماركر جديد
iPrestege Posted February 10, 2013 Posted February 10, 2013 createMarker destroyElement "onMarkerHit"
PaiN^ Posted February 10, 2013 Posted February 10, 2013 marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) end end ) هذا لمن تلسمه ينقلك ثم يختفي حط بدل X, Y, Z في السطر الأول مكان الماركر وفي السطر السادس المكان إلي ينقلك له الماركر " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
===|OSAMA|=== Posted February 10, 2013 Posted February 10, 2013 و ابغي كود اذا لمست ماركر انا احدده يطلع ماركر جديد marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) end end ) الإسبتدآل , السطر الأول , x, y, z = إحداثيات الماركر الأول الي تبي لما تلمسه يجي ماركر جديد size = حجم الماركر ^ السطر السآدس , x, y, z = إحداثيات الماركر الجديد الي يتم إنشائه عند لمس الماركر الي سوينآهـ بالسطر الأول size = حجم الماركر ^
PaiN^ Posted February 10, 2013 Posted February 10, 2013 لو جمعت مودي + مود أسامة بيطلعلك المود إلي تبيه " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
PaiN^ Posted February 10, 2013 Posted February 10, 2013 تفضل marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) marker2 = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) end end ) 1 --> X, Y, Z = إحداثيات الماركر 6 --> X, Y, Z = المكان إلي بينقلك عليه الماركر 8 --> X, Y, Z = إحداثيات اللماركر الجديدي إلي راح يطلع " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
mohssan123 Posted February 11, 2013 Author Posted February 11, 2013 تفضل marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) marker2 = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) end end ) 1 --> X, Y, Z = إحداثيات الماركر 6 --> X, Y, Z = المكان إلي بينقلك عليه الماركر 8 --> X, Y, Z = إحداثيات اللماركر الجديدي إلي راح يطلع مشكور الحين عرفت شلون اخلي الماركر يختفي marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) end end ) مشكور بس انا ابغي اذا اللاعب لمس الماركر الماركر الجديد اليطلع يظهر بس للاعب الي لمس الماركر مو الكل اذا تقدر
mohssan123 Posted February 11, 2013 Author Posted February 11, 2013 createMarker destroyElement "onMarkerHit" مشكور
TAPL Posted February 11, 2013 Posted February 11, 2013 مشكور بس انا ابغي اذا اللاعب لمس الماركر الماركر الجديد اليطلع يظهر بس للاعب الي لمس الماركر مو الكل اذا تقدر https://wiki.multitheftauto.com/wiki/CreateMarker visibleTo: Every element that is a child of this element can see the marker. See visibility.
iPrestege Posted February 11, 2013 Posted February 11, 2013 createMarker destroyElement "onMarkerHit" مشكور حياكـ اي وقت , ما اعتقد تقدر تسويها ظاهر لـ الاعب فقط .
3NAD Posted February 11, 2013 Posted February 11, 2013 ماظنتي كودكـ يحتاج لـ سيرفر .. حطه كلنت ولو تسوي اخفاء للماركر ماحد بيشوفه غير العميل نفسه #
===|OSAMA|=== Posted February 11, 2013 Posted February 11, 2013 تفضل marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) marker2 = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) end end ) 1 --> X, Y, Z = إحداثيات الماركر 6 --> X, Y, Z = المكان إلي بينقلك عليه الماركر 8 --> X, Y, Z = إحداثيات اللماركر الجديدي إلي راح يطلع مشكور الحين عرفت شلون اخلي الماركر يختفي marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) end end ) مشكور بس انا ابغي اذا اللاعب لمس الماركر الماركر الجديد اليطلع يظهر بس للاعب الي لمس الماركر مو الكل اذا تقدر تقدر , يصصير كذآ ^ -- Server Side ! marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255, player ) end end )
PaiN^ Posted February 11, 2013 Posted February 11, 2013 تقدر , يصصير كذآ ^ -- Server Side ! marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255, player ) end end ) marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) marker2 = createMarker( X, Y, Z, "cylinder", Size, 255, 0, 0, 255, player ) end end ) " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
===|OSAMA|=== Posted February 11, 2013 Posted February 11, 2013 تقدر , يصصير كذآ ^ -- Server Side ! marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255, player ) end end ) marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) marker2 = createMarker( X, Y, Z, "cylinder", Size, 255, 0, 0, 255, player ) end end ) ??? هو طلبه اسويهآ له على الكود الي هو حاطه مهو على الكود الي فوق
PaiN^ Posted February 11, 2013 Posted February 11, 2013 تقدر , يصصير كذآ ^ -- Server Side ! marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255, player ) end end ) marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) marker2 = createMarker( X, Y, Z, "cylinder", Size, 255, 0, 0, 255, player ) end end ) ??? هو طلبه اسويهآ له على الكود الي هو حاطه مهو على الكود الي فوق لووول ما إنتبهت xD بس عادي يزيد ولا ينقص " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
mohssan123 Posted February 12, 2013 Author Posted February 12, 2013 تقدر , يصصير كذآ ^-- Server Side ! marker1 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255 ) addEventHandler ( "onMarkerHit", marker1, function ( player ) if ( getElementType ( player ) == "player" ) then marker2 = createMarker( x, y, z, "cylinder", size, 255, 0, 0, 255, player ) end end ) مشكور ظبط تمت الافادة
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