Jump to content

Stuck


Drakath

Recommended Posts

Posted

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?

Posted

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 

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...