Game codeUnofficial name
TASK::_TASK_VEHICLE_DRIVE_TO_COORD_2
0x04EFA25D0FEF70FE ·RVA 0x044C9090
Signature
void _TASK_VEHICLE_DRIVE_TO_COORD_2(
Ped ped,
Vector3 p1,
float p2,
int p3,
int p4,
float p5,
float p6
);
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 | Ped | ped |
– |
| 1 | Vector3 | p1 |
RDR3 doesn't give a type; the scripts pass vectors. |
| 2 | float | p2 |
RDR3 doesn't give a type; the game reads it as a float. |
| 3 | int | p3 |
RDR3 doesn't give a type; the game reads it as a 32-bit integer. |
| 4 | int | p4 |
RDR3 doesn't give a type; the game reads it as a 32-bit integer. |
| 5 | float | p5 |
RDR3 doesn't give a type; the game reads it as a float. |
| 6 | float | p6 |
RDR3 doesn't give a type; the game reads it as a float. |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p7, in RDR3's signature, is not passed in GTA VI.
- p8, in RDR3's signature, is not passed in GTA VI.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// TASK::_TASK_VEHICLE_DRIVE_TO_COORD_2
invoke<Void>(0x04EFA25D0FEF70FE, ped, p1, p2, p3, p4, p5, p6);// TASK::_TASK_VEHICLE_DRIVE_TO_COORD_2
Function.Call((Hash)0x04EFA25D0FEF70FE, ped, p1, p2, p3, p4, p5, p6);-- TASK::_TASK_VEHICLE_DRIVE_TO_COORD_2
Citizen.InvokeNative(0x04EFA25D0FEF70FE, ped, p1, p2, p3, p4, p5, p6)// TASK::_TASK_VEHICLE_DRIVE_TO_COORD_2
Citizen.invokeNative("0x04EFA25D0FEF70FE", ped, p1, p2, p3, p4, p5, p6);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.