Description: Returns the number of waypoints for a requested path (NAVMESH_REQUEST_PATH) if the query is completed (_NAVMESH_REQUESTED_QUERY_STATUS). For use with _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
| Property | Value |
|---|---|
| Native Name | _NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS |
| Hash | 0xD470725E0703D22F |
| Return Type | int |
| Build | 1207 |
| Parameters | path (int) |
Parameters
path(int)
Usage
Lua (Direct):
local result = NavmeshRequestedPathNumWaypoints(path)
Lua (Hash):
local result = Citizen.InvokeNative(0xD470725E0703D22F, path)