RDR3 matchUnofficial name
TASK::_TASK_VEHICLE_DRIVE_TO_DESTINATION_2
0x2C331D45C6EF8C46 ·RVA 0x044C91C0
Signature
void _TASK_VEHICLE_DRIVE_TO_DESTINATION_2(
Vehicle vehicle,
Vector3 pos,
float speed,
int drivingFlags,
int p6,
float stoppingRange1,
float stoppingRange2
);
The scripts pass 9 values to this native; the decoded signature lists 7 (arguments the game doesn't read are left out).
Parameters 7
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vehicle | vehicle |
– |
| 1 | Vector3 | pos |
– |
| 2 | float | speed |
– |
| 3 | int | drivingFlags |
– |
| 4 | int | p6 |
– |
| 5 | float | stoppingRange1 |
– |
| 6 | float | stoppingRange2 |
– |
Returns
void Nothing.
Call it
// TASK::_TASK_VEHICLE_DRIVE_TO_DESTINATION_2
invoke<Void>(0x2C331D45C6EF8C46, vehicle, pos, speed, drivingFlags, p6, stoppingRange1, stoppingRange2);// TASK::_TASK_VEHICLE_DRIVE_TO_DESTINATION_2
Function.Call((Hash)0x2C331D45C6EF8C46, vehicle, pos, speed, drivingFlags, p6, stoppingRange1, stoppingRange2);-- TASK::_TASK_VEHICLE_DRIVE_TO_DESTINATION_2
Citizen.InvokeNative(0x2C331D45C6EF8C46, vehicle, pos, speed, drivingFlags, p6, stoppingRange1, stoppingRange2)// TASK::_TASK_VEHICLE_DRIVE_TO_DESTINATION_2
Citizen.invokeNative("0x2C331D45C6EF8C46", vehicle, pos, speed, drivingFlags, p6, stoppingRange1, stoppingRange2);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.