Posts: 314
Threads: 46
Joined: Aug 2009
Reputation:
0
Hey,
I got a question, does anyone know if there's a callback to check the nearest vehicle from playerid?
Thank you
Posts: 166
Threads: 16
Joined: Jan 2010
Reputation:
0
There's no callback and no function for that. But it's easy to find a nearby vehicle if that's what you are looking for.
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
What if the distance to the closest vehicle is i.e. 15.0 units?
I see you're doing "&& dis < 8.0"
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
15.0 is still close imo :P