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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | driverPed |
– |
| 1 | Ped | targetPed |
– |
| 2 | Vehicle | targetVehicle |
– |
| 3 | Vector3 | targetPos |
– |
| 4 | float | distanceToShoot |
– |
| 5 | int | pedAccuracy |
– |
| 6 | BOOL | p8 |
– |
| 7 | Hash | firingPattern |
– |
Returns
void Nothing.
Call it
// TASK::TASK_DRIVE_BY
invoke<Void>(0xD88C5E8ED0750F17, driverPed, targetPed, targetVehicle, targetPos, distanceToShoot, pedAccuracy, p8, firingPattern);// TASK::TASK_DRIVE_BY
Function.Call((Hash)0xD88C5E8ED0750F17, driverPed, targetPed, targetVehicle, targetPos, distanceToShoot, pedAccuracy, p8, firingPattern);-- TASK::TASK_DRIVE_BY
Citizen.InvokeNative(0xD88C5E8ED0750F17, driverPed, targetPed, targetVehicle, targetPos, distanceToShoot, pedAccuracy, p8, firingPattern)// TASK::TASK_DRIVE_BY
Citizen.invokeNative("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.