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