{"hash":"0xD470725E0703D22F","ns":"PATH","name":"_NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS","slug":"_NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS","official":false,"named":true,"luaName":"NavmeshRequestedPathNumWaypoints","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"path","type":"int"}],"summary":"Returns the number of waypoints for a requested path (NAVMESH_REQUEST_PATH) if the query is completed (_NAVMESH_REQUESTED_PATH_QUERY_STATUS).","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the number of waypoints for a requested path (NAVMESH_REQUEST_PATH) if the query is completed (_NAVMESH_REQUESTED_PATH_QUERY_STATUS). For use with _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX"},{"source":"vorp","format":"text","body":"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"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PATH/_NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS","markdownUrl":"https://natives.borderlinerp.com/natives/PATH/_NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS.md","snippets":{"lua":"local retval = NavmeshRequestedPathNumWaypoints(path)","luaInvoke":"local retval = Citizen.InvokeNative(0xD470725E0703D22F, path, Citizen.ResultAsInteger())","js":"const retval = NavmeshRequestedPathNumWaypoints(path);","jsInvoke":"const retval = Citizen.invokeNative('0xD470725E0703D22F', path, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xD470725E0703D22F, path);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}