Game code
TASK::TASK_VEHICLE_DRIVE_WANDER
0x62CC82FFB7FEBD6A ·RVA 0x044C9430
Signature
void TASK_VEHICLE_DRIVE_WANDER(
Ped ped,
Vehicle vehicle,
float speed,
int drivingStyle,
BOOL p4
);
The scripts pass 7 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Vehicle | vehicle |
– |
| 2 | float | speed |
– |
| 3 | int | drivingStyle |
– |
| 4 | BOOL | p4 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p4 is not in RDR3's signature; the game reads it as a true/false value.
Call it
// TASK::TASK_VEHICLE_DRIVE_WANDER
invoke<Void>(0x62CC82FFB7FEBD6A, ped, vehicle, speed, drivingStyle, p4);// TASK::TASK_VEHICLE_DRIVE_WANDER
Function.Call((Hash)0x62CC82FFB7FEBD6A, ped, vehicle, speed, drivingStyle, p4);-- TASK::TASK_VEHICLE_DRIVE_WANDER
Citizen.InvokeNative(0x62CC82FFB7FEBD6A, ped, vehicle, speed, drivingStyle, p4)// TASK::TASK_VEHICLE_DRIVE_WANDER
Citizen.invokeNative("0x62CC82FFB7FEBD6A", ped, vehicle, speed, drivingStyle, p4);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.