Drakath Posted June 9, 2014 Posted June 9, 2014 Is there any way to check if an element is stuck in another object? Like a vehicle stuck in the wall.
Max+ Posted June 9, 2014 Posted June 9, 2014 Well Maybe this ? isElementAttached - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Drakath Posted June 9, 2014 Author Posted June 9, 2014 No, I mean if you enter wrong coordinates to spawn a vehicle and it spawns into some wall, how can I check if it is stuck in there?
tosfera Posted June 9, 2014 Posted June 9, 2014 I'm not sure but a quick search on the wiki gave me the following functions. Maybe it's possible using them to achieve what you want; getPedTargetCollision getGroundPosition If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
Den. Posted June 9, 2014 Posted June 9, 2014 I believe it's not possible to do it server-side unless you have fixed positions in which you retrieved yourself; Client-side you can possibly do it using processLineOfSight, but you will need a player in stream range of the position the vehicle spawned in.
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