The Lab
PATH native

_NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX

returns Vector32 paramsbuild 1207

Returns the position of waypoint waypointIndex in the computed path path.

Signature

C
Vector3 _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX(int path, int waypointIndex); // 0x430F8319AE56C8A9 b1207

Parameters

#NameType
1pathint
2waypointIndexint

Facts

Facts about _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
Name
_NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
Hash
0x430F8319AE56C8A9
Namespace
Returns
Vector3
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local coords = Citizen.InvokeNative(0x430F8319AE56C8A9, -- _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
  0, -- int path
  0, -- int waypointIndex
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0x430F8319AE56C8A9", // _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
  0, // int path
  0, // int waypointIndex
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0x430F8319AE56C8A9, // _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
  0, // int path
  0 // int waypointIndex
);
All PATH natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.