_NAVMESH_REQUESTED_PATH_WAYPOINTS_TERRAIN
Returns a bit flag for seemingly terrain within the waypoints in the path.
Hash
0xF61CFEDEAB627BFARuntime name
NavmeshRequestedPathWaypointsTerrainNamespacePATH
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _NAVMESH_REQUESTED_PATH_WAYPOINTS_TERRAIN(int path);Parameters
| Name | Type | Description |
|---|---|---|
path | int | — |
Returns int
Description
Returns a bit flag for seemingly terrain within the waypoints in the path. Checked against bit value 2 to match water in the path, seems to always contain at least 1 though regardless of location/ped.
Usage
local retval = NavmeshRequestedPathWaypointsTerrain(path)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF61CFEDEAB627BFA, path, Citizen.ResultAsInteger())JavaScript and C#
const retval = NavmeshRequestedPathWaypointsTerrain(path);
// by hash
const retval = Citizen.invokeNative('0xF61CFEDEAB627BFA', path, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xF61CFEDEAB627BFA, path);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.