RDR3 match
PATH::GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
0x34DBCCABDC3002B3 ·RVA 0x0445DBE0
Signature
BOOL GET_CLOSEST_VEHICLE_NODE_WITH_HEADING(
Vector3 pos,
Vector3* outPosition,
float* outHeading,
int nodeType,
float p6,
float p7
);
The scripts pass 7 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos |
– |
| 1 | Vector3* | outPosition |
– |
| 2 | float* | outHeading |
– |
| 3 | int | nodeType |
– |
| 4 | float | p6 |
the game doesn't read it. |
| 5 | float | p7 |
the game doesn't read it. |
Returns
BOOL
Call it
// PATH::GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
auto result = invoke<BOOL>(0x34DBCCABDC3002B3, pos, &outPosition, &outHeading, nodeType, p6, p7);// PATH::GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
bool result = Function.Call<bool>((Hash)0x34DBCCABDC3002B3, pos, outPosition, outHeading, nodeType, p6, p7);-- PATH::GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
local result = Citizen.InvokeNative(0x34DBCCABDC3002B3, pos, outPosition, outHeading, nodeType, p6, p7)// PATH::GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
const result = Citizen.invokeNative("0x34DBCCABDC3002B3", pos, outPosition, outHeading, nodeType, p6, p7);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.