#1 13-04-2011 19:10

Vance
Registered: 11-08-2010
Posts: 4

Non-Race Checkpoints and Auto Driving.

I've searched google and many other CLEO sites for an answer and still haven't come up with anything.

The two types of checkpoints in GTA that cars go through are the big red one with a pointer inside of it, and the one that is just big and red, with no pointer in the center.

My goal is to find the closest standard checkpoint (No Pointer) and relay its coords to an auto driving script.

Pseudo code:
:search
Find nearest Checkpoint.
Get/save coords.
set coords as auto driver destination
if coord distance <= 10 units away from player coords
--- Goto :search
else stop script

I already have a CLEO that goes to the target coords a player sets via "Map" in the escape menu. I just want to replace the Target coords with the closest checkpoint.

Thanks in advance.

Offline

Board footer

Powered by FluxBB