Log In
Sign Up
RDR3 match

TASK::TASK_DRIVE_BY

0xD88C5E8ED0750F17 ·RVA 0x04BF9E30

Signature

void TASK_DRIVE_BY(
    Ped driverPed,
    Ped targetPed,
    Vehicle targetVehicle,
    Vector3 targetPos,
    float distanceToShoot,
    int pedAccuracy,
    BOOL p8,
    Hash firingPattern
);

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

Parameters 8

#TypeNameNotes
0PeddriverPed –
1PedtargetPed –
2VehicletargetVehicle –
3Vector3targetPos –
4floatdistanceToShoot –
5intpedAccuracy –
6BOOLp8 –
7HashfiringPattern –

Returns

void Nothing.

Call it

// TASK::TASK_DRIVE_BY
invoke<Void>(0xD88C5E8ED0750F17, driverPed, targetPed, targetVehicle, targetPos, distanceToShoot, pedAccuracy, p8, firingPattern);

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.