Adham Posted January 23, 2017 Share Posted January 23, 2017 سلام عليكم ورحمه الله وبركاته .! اليوم أبي اسوي لما يدخل علي مركر يخش علي محل ومب عارف اسويها كل م اسويها يخش علي اسود .! وش الخطأ Link to comment
Master_MTA Posted January 23, 2017 Share Posted January 23, 2017 15 minutes ago, Deativated said: سلام عليكم ورحمه الله وبركاته .! اليوم أبي اسوي لما يدخل علي مركر يخش علي محل ومب عارف اسويها كل م اسويها يخش علي اسود .! وش الخطأ تحقق من الاحداثيات+اعرض محاولاتك Link to comment
Adham Posted January 23, 2017 Author Share Posted January 23, 2017 (edited) local Marker = createMarker ( 2105.47339, -1806.24841, 13.55469, "cylinder", 1.5, 255, 255, 0, 170 ) local Exit = createMarker ( 362.76413 -75.06200 1001.50781, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler ( 'onMarkerHit', Marker, function ( hitPlayer ) if ( getElementType( hitPlayer ) == "player" ) and not isPedInVehicle( hitPlayer ) then setElementInterior ( hitPlayer, 3 ) setElementPosition ( hitPlayer,364,-73,1002 ) end end ) addEventHandler ( 'onMarkerHit', Exit, function ( hitPlayer ) if ( getElementType( hitPlayer ) == "player" ) and not isPedInVehicle( hitPlayer ) then setElementInterior ( hitPlayer, 3 ) setElementPosition ( hitPlayer,2103,-1805,14 ) end end ) لما بخش ع المركر يجي اسود .:! Edited January 23, 2017 by Deativated Link to comment
Abu-Solo Posted January 23, 2017 Share Posted January 23, 2017 setElementDimension ---- وبعدين سوي تحقق 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