Adham Posted December 4, 2016 Share Posted December 4, 2016 سلأم عليكم سويت اول م يخش علي مركر يخش علي محل الكود : local Marker = createMarker ( 1352.32373, -1759.25378, 14.50781, "arrow", 1.4, 0, 0, 255, 255 ) addEventHandler ( "onMarkerHit",Marker , function ( hitPlayer ) if ( getElementType( hitPlayer ) == "player" ) and not isPedInVehicle( hitPlayer ) then setElementInterior ( Marker , 3 ) setElementPosition ( hitPlayer, 204.48776, -165.69647, 1000.52344 ) end end ) المشكلهه : لما يخش علي المركر يخش علي شاشه سوده . Link to comment
SycroX Posted December 4, 2016 Share Posted December 4, 2016 اكيد لازم يخش علي شاشة سودا راجع كودك انتا ترسل اللاعب للاحداثيات في العالم الاساسي الي هوا 0 كودك غلط اصلا تسوي انتريور الماركر مو اللاعب local Marker = createMarker( 1352.32373, -1759.25378, 14.50781, "arrow", 1.4, 0, 0, 255, 255) addEventHandler("onMarkerHit", Marker, function(hit) if getElementType(hit) == "player" and not isPedInVehicle(hit) then setElementInterior(hit, 3) setElementPosition(hit, 204.48776, -165.69647, 1000.52344) end end) Link to comment
Kara Posted December 4, 2016 Share Posted December 4, 2016 setElementInterior ( hitPlayer , 3 ) Link to comment
Master_MTA Posted December 4, 2016 Share Posted December 4, 2016 2 hours ago, Kara said: setElementInterior ( hitPlayer , 3 ) + تحقق من العالم اذا كان صفر او وش getElementDimension 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