Log In
Sign Up
Game code

TASK::TASK_VEHICLE_DRIVE_TO_DESTINATION

0xEBCABA7C80DBE5F2 ·RVA 0x044C9250

Signature

void TASK_VEHICLE_DRIVE_TO_DESTINATION(
    Ped driver,
    Vehicle vehicle,
    Vector3 pos,
    float speed,
    int drivingFlags,
    int p7,
    float stoppingRange1,
    float stoppingRange2,
    BOOL p10,
    BOOL p9
);

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

Parameters 10

#TypeNameNotes
0Peddriver –
1Vehiclevehicle –
2Vector3pos –
3floatspeed –
4intdrivingFlags –
5intp7 –
6floatstoppingRange1 –
7floatstoppingRange2 –
8BOOLp10 –
9BOOLp9 –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p9 is not in RDR3's signature; the game reads it as a true/false value.
  • This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.

Call it

// TASK::TASK_VEHICLE_DRIVE_TO_DESTINATION
invoke<Void>(0xEBCABA7C80DBE5F2, driver, vehicle, pos, speed, drivingFlags, p7, stoppingRange1, stoppingRange2, p10, p9);

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.