Log In
Sign Up
Game code

TASK::TASK_VEHICLE_DRIVE_STRAIGHT_TO_POINT

0x69A0F5D6F7600D04 ·RVA 0x044C9390

Signature

void TASK_VEHICLE_DRIVE_STRAIGHT_TO_POINT(
    Ped driver,
    Vehicle vehicle,
    Vector3 pos,
    float p5,
    float p6,
    int flag,
    BOOL p0
);

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

Parameters 7

#TypeNameNotes
0Peddriver –
1Vehiclevehicle –
2Vector3pos –
3floatp5 –
4floatp6 –
5intflag –
6BOOLp0 –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p6 is not in RDR3's signature; the game reads it as a true/false value.

Call it

// TASK::TASK_VEHICLE_DRIVE_STRAIGHT_TO_POINT
invoke<Void>(0x69A0F5D6F7600D04, driver, vehicle, pos, p5, p6, flag, p0);

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.