Log In
Sign Up
RDR3 match

TASK::TASK_VEHICLE_MISSION_PED_TARGET

0x0EA29A856BABAD72 ·RVA 0x044C9A80

Signature

void TASK_VEHICLE_MISSION_PED_TARGET(
    Ped ped,
    Vehicle vehicle,
    Ped pedTarget,
    int mode,
    float maxSpeed,
    int drivingStyle,
    float minDistance,
    float p7,
    BOOL DriveAgainstTraffic
);

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 –
2PedpedTarget –
3intmode –
4floatmaxSpeed –
5intdrivingStyle –
6floatminDistance –
7floatp7 –
8BOOLDriveAgainstTraffic –

Returns

void Nothing.

Call it

// TASK::TASK_VEHICLE_MISSION_PED_TARGET
invoke<Void>(0x0EA29A856BABAD72, ped, vehicle, pedTarget, mode, maxSpeed, drivingStyle, minDistance, p7, DriveAgainstTraffic);

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.