Log In
Sign Up
RDR3 match

TASK::TASK_VEHICLE_DRIVE_TO_COORD

0x9A6288581D5D55D0 ·RVA 0x044C9120

Signature

void TASK_VEHICLE_DRIVE_TO_COORD(
    Ped ped,
    Vehicle vehicle,
    Vector3 pos,
    float speed,
    int drivingStyle,
    Hash vehicleModel,
    int drivingMode,
    float stopRange,
    float straightLineDist
);

The scripts pass 12 values to this native; the decoded signature lists 9 (arguments the game doesn't read are left out).

Parameters 9

#TypeNameNotes
0Pedped –
1Vehiclevehicle –
2Vector3pos –
3floatspeed –
4intdrivingStyle RDR3 doesn't give a type; the game reads it as a 32-bit integer.
5HashvehicleModel the game doesn't read it.
6intdrivingMode –
7floatstopRange –
8floatstraightLineDist –

Returns

void Nothing.

Call it

// TASK::TASK_VEHICLE_DRIVE_TO_COORD
invoke<Void>(0x9A6288581D5D55D0, ped, vehicle, pos, speed, drivingStyle, vehicleModel, drivingMode, stopRange, straightLineDist);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.