MR.President Posted March 11, 2017 Posted March 11, 2017 بدي كود انو لما الاعب يدخل يحوله لبقاله او مركز الشرطه بس بدي ألأمر
MR_Mahmoud Posted March 11, 2017 Posted March 11, 2017 1 hour ago, MR.President said: بدي كود انو لما الاعب يدخل يحوله لبقاله او مركز الشرطه بس بدي ألأمر يدخل وين ؟ السيرفر ولا ماركر ؟
Adham Posted March 11, 2017 Posted March 11, 2017 -- Client Side -- "onClientMarkerHit" -- if Player == localPlayer then isPedInVehicle -- لو تبي الاعب يخش بدون سياره المركر setElementPosition setElementInterior
Adham Posted March 11, 2017 Posted March 11, 2017 Just now, MR.President said: شكرا لك اخي @Deativated عفوا , حياك الله
^iiEcoo'x_) Posted March 12, 2017 Posted March 12, 2017 local Marker = createMarker ( x , y , z , "arrow" , 2 , 255 , 255 , 0 , 255 ) local ID = 5 -- هنا الاي دي addEventHandler ("onMarkerHit",root, function ( player ) if getElementType ( player ) == "player" and not isPedInVehicle ( player ) then if source == Marker then setElementInterior ( player , ID ) end end end )
Master_MTA Posted March 12, 2017 Posted March 12, 2017 setElementPosition مالها داعي setElementInterior تفي بالغرض
^iiEcoo'x_) Posted March 12, 2017 Posted March 12, 2017 4 minutes ago, Master_MTA said: setElementPosition مالها داعي setElementInterior تفي بالغرض + يقدر يسوهيا بنفس الفنكشن setElementInterior setElementInterior ( element , x , y , z )
#Soking Posted March 12, 2017 Posted March 12, 2017 2 minutes ago, #_iMr.[E]coo said: + يقدر يسوهيا بنفس الفنكشن setElementInterior setElementInterior ( element , x , y , z ) ناقص ارقمنت الانترو بين الامنت و الاكس
^iiEcoo'x_) Posted March 12, 2017 Posted March 12, 2017 Just now, #Soking said: ناقص ارقمنت الانترو بين الامنت و الاكس Thanks , setElementInterior ( element , id , x , y , z )
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