#DRAGON!FIRE Posted August 2, 2014 Share Posted August 2, 2014 كان في غلط بسيط وعدلته انسخه مرة ثانية مآيشتغل آبد ليه مسويه الماركر كلنت ؟ .. سوهـ بسيرفر وخلأص واطرح كود صناعة الماركر . Link to comment
Simple. Posted August 2, 2014 Author Share Posted August 2, 2014 سويته سيرفر وللحين على نفس آلمشكله myMarker2 = createMarker ( 1299.6129150391, -796.72637939453, 1084.2080078125, "cylinder", 1.5, 0, 144, 255 ) setElementInterior ( player , 5 ) setElementDimension ( player , 12345 ) function MarkerHit2( player, matchingDimension ) setElementPosition ( player, 1330.3448486328, -1066.1788330078, 29.288482666016 ) setElementInterior ( player , 0 ) setElementDimension ( player , 0 ) end addEventHandler( "onClientMarkerHit", myMarker2, MarkerHit2 ) Link to comment
Max+ Posted August 2, 2014 Share Posted August 2, 2014 myMarker2 = createMarker ( 1299.6129150391, -796.72637939453, 1084.2080078125, "cylinder", 1.5, 0, 144, 255 ) addEventHandler( "onMarkerHit", myMarker2, function ( element ) if ( getElementType ( element ) == "player" ) then if ( getPlayerAccount ( element ) and not isGuestAccount ( getPlayerAccount ( element ) ) ) then if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( element ) ), aclGetGroup ( "Class" ) ) ) then setElementInterior ( element, 5, 1302.2878417969, -789.06280517578, 1083.9079589844 ) setElementDimension ( element, 12345 ) else outputChatBox( "* Classic & Prince House", element ) end end end end ) -- سيرفر Link to comment
Simple. Posted August 2, 2014 Author Share Posted August 2, 2014 myMarker2 = createMarker ( 1299.6129150391, -796.72637939453, 1084.2080078125, "cylinder", 1.5, 0, 144, 255 ) addEventHandler( "onMarkerHit", myMarker2, function ( element ) if ( getElementType ( element ) == "player" ) then if ( getPlayerAccount ( element ) and not isGuestAccount ( getPlayerAccount ( element ) ) ) then if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( element ) ), aclGetGroup ( "Class" ) ) ) then setElementInterior ( element, 5, 1302.2878417969, -789.06280517578, 1083.9079589844 ) setElementDimension ( element, 12345 ) else outputChatBox( "* Classic & Prince House", element ) end end end end ) -- سيرفر معد يشتغل , خلآص كنسلو آلسآلفه ويعطيكم آلعافيه تعبتكم معي Link to comment
!#NssoR_) Posted August 2, 2014 Share Posted August 2, 2014 ذذ اخوي الاكواد شغاله 100 % وانا جربته وشغال وقلت برفعه لك Take this : http://www.solidfiles.com/d/5b173a23ff/NssoR^_^.rar Link to comment
Simple. Posted August 2, 2014 Author Share Posted August 2, 2014 يعطيك آلعافيه ضبط لكن آلكود آلي داخل آلبيت م ضبط myMarker2 = createMarker ( 1299.0317382813 , -796.89575195313 , 1083.6079101563 , "cylinder", 1.5, 0, 204, 255 ) setElementInterior ( element, 5 ) setElementDimension ( element, 12345 ) addEventHandler( "onMarkerHit", myMarker2, function ( element ) setElementInterior ( element, 0, 1330.3448486328, -1066.1788330078, 29.288482666016 ) setElementDimension ( element, 0 ) end) مع إني لما آحطه في برنامج MTA Script Editor مآيطلع لي أخطاء !! Link to comment
#DRAGON!FIRE Posted August 2, 2014 Share Posted August 2, 2014 استبدله الى .. : myMarker2 = createMarker ( 1299.0317382813 , -796.89575195313 , 1083.6079101563 , "cylinder", 1.5, 0, 204, 255 ) setElementInterior ( myMarker2, 5 ) setElementDimension ( myMarker2, 12345 ) addEventHandler( "onMarkerHit", myMarker2, function ( element ) if ( getElementType ( element ) == "player" ) then setElementInterior ( element, 0, 1330.3448486328, -1066.1788330078, 29.288482666016 ) setElementDimension ( element, 0 ) end end ) Link to comment
#DRAGON!FIRE Posted August 3, 2014 Share Posted August 3, 2014 الكود سليم .. المشكلة من عندكـ اطرح الميتا .. وشف الديبوق ! Link to comment
Simple. Posted August 3, 2014 Author Share Posted August 3, 2014 خلآلآص يعطيكم آلعافيه آنحلت آلمشكله , 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