ALKiNg[Q.4]SLOOM Posted October 21, 2013 Posted October 21, 2013 طلب فنكشن مقدر انزل من السيارهه ف منطقه محدده مثلا مسوي ماب اذا دخلت فيه السياره ما يقدر ينزل منها او اذا نزل يموت مثل الريس
فاّرس Posted October 21, 2013 Posted October 21, 2013 سوي ماركر او كول شيب جيب الاحداثيات ذذ الماركر اسهل لك , createMarker onVehicleStartExit isElementWithinMarker cancelEvent
ALKiNg[Q.4]SLOOM Posted October 21, 2013 Author Posted October 21, 2013 onVehicleStartExit ذا ما فهمت له
ALKiNg[Q.4]SLOOM Posted October 21, 2013 Author Posted October 21, 2013 local theMarker = createMarker ( x + 3, y + 2, z, "c", 1.5, 155, 255, 0, 170 ) local ( isPedDead ( thePlayer ) ) then eles cancelEvent () addEventHandler ( "onVehicleStartExit", getRootElement(), exitVehicle ) if isElementWithinMarker(thePlayer, c) then كذا صح
Stranger Posted October 21, 2013 Posted October 21, 2013 local marker = createMarker (x,y,z, "cylinder", 5, 255, 0, 0) addEventHandler("onVehicleStartExit", root, function (player) if isElementWithinMarker(player, marker) then cancelEvent () 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