# PATHFIND Natives - Part 2 of 2
Red Dead Redemption 3 Native Functions Reference
**Namespace:** PATHFIND
**Natives in this file:** 26
**Total natives in namespace:** 76
**Generated from:** RDR3natives JSON data
---
## _0xA33914B00CA55756
| Property | Value |
|----------|-------|
| Native Name | `_0xA33914B00CA55756` |
| Hash | `0xA33914B00CA55756` |
| Return Type | `Any*` |
| Build | `1207` |
| Parameters | `p0` (const char*), `p1` (int) |
### Parameters
- **`p0`** (`const char*`)
- **`p1`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = _0xA33914B00CA55756(p0, p1)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xA33914B00CA55756, p0, p1)
```
---
## _0xAFE2AE66F6251C66
| Property | Value |
|----------|-------|
| Native Name | `_0xAFE2AE66F6251C66` |
| Hash | `0xAFE2AE66F6251C66` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `xMin` (float), `yMin` (float), `zMin` (float), `xMax` (float), `yMax` (float), `zMax` (float), `p6` (int), `p7` (Any) |
### Parameters
- **`xMin`** (`float`)
- **`yMin`** (`float`)
- **`zMin`** (`float`)
- **`xMax`** (`float`)
- **`yMax`** (`float`)
- **`zMax`** (`float`)
- **`p6`** (`int`)
- **`p7`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xAFE2AE66F6251C66(xMin, yMin, zMin, xMax, yMax, zMax, p6, p7)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xAFE2AE66F6251C66, xMin, yMin, zMin, xMax, yMax, zMax, p6, p7)
```
---
## _0xB03944057FD735BA
| Property | Value |
|----------|-------|
| Native Name | `_0xB03944057FD735BA` |
| Hash | `0xB03944057FD735BA` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xB03944057FD735BA(p0, p1, p2)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xB03944057FD735BA, p0, p1, p2)
```
---
## _0xCA27A86CAA4E98ED
| Property | Value |
|----------|-------|
| Native Name | `_0xCA27A86CAA4E98ED` |
| Hash | `0xCA27A86CAA4E98ED` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any), `p3` (Any), `p4` (Any), `p5` (Any), `p6` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
- **`p3`** (`Any`)
- **`p4`** (`Any`)
- **`p5`** (`Any`)
- **`p6`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xCA27A86CAA4E98ED(p0, p1, p2, p3, p4, p5, p6)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xCA27A86CAA4E98ED, p0, p1, p2, p3, p4, p5, p6)
```
---
## _0xCF213A5FC3ABFC08
| Property | Value |
|----------|-------|
| Native Name | `_0xCF213A5FC3ABFC08` |
| Hash | `0xCF213A5FC3ABFC08` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xCF213A5FC3ABFC08(p0, p1, p2)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xCF213A5FC3ABFC08, p0, p1, p2)
```
---
## _0xE5EF9DE716FF737E
| Property | Value |
|----------|-------|
| Native Name | `_0xE5EF9DE716FF737E` |
| Hash | `0xE5EF9DE716FF737E` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xE5EF9DE716FF737E(p0, p1, p2)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xE5EF9DE716FF737E, p0, p1, p2)
```
---
## _0xEFC535C9FAF563B3
| Property | Value |
|----------|-------|
| Native Name | `_0xEFC535C9FAF563B3` |
| Hash | `0xEFC535C9FAF563B3` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xEFC535C9FAF563B3(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xEFC535C9FAF563B3, p0)
```
---
## _0xF2A2177AC848B3A8
**Description:** GPS disabled zone: p1 = 0
Clearing GPS disabled zone: p1 = 1
| Property | Value |
|----------|-------|
| Native Name | `_0xF2A2177AC848B3A8` |
| Hash | `0xF2A2177AC848B3A8` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `volume` (Volume), `p1` (int), `p2` (int) |
### Parameters
- **`volume`** (`Volume`)
- **`p1`** (`int`)
- **`p2`** (`int`)
### Usage
**Lua (Direct):**
```lua
_0xF2A2177AC848B3A8(volume, p1, p2)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xF2A2177AC848B3A8, volume, p1, p2)
```
---
## _ADD_NAVMESH_BLOCKING_VOLUME
| Property | Value |
|----------|-------|
| Native Name | `_ADD_NAVMESH_BLOCKING_VOLUME` |
| Hash | `0x19C7567D2F2287D6` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `volume` (Volume), `flags` (int) |
### Parameters
- **`volume`** (`Volume`)
- **`flags`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = AddNavmeshBlockingVolume(volume, flags)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x19C7567D2F2287D6, volume, flags)
```
---
## _DOES_NAVMESH_BLOCKING_VOLUME_EXIST
| Property | Value |
|----------|-------|
| Native Name | `_DOES_NAVMESH_BLOCKING_VOLUME_EXIST` |
| Hash | `0xDE0EA444735C1368` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `volume` (Volume) |
### Parameters
- **`volume`** (`Volume`)
### Usage
**Lua (Direct):**
```lua
local result = DoesNavmeshBlockingVolumeExist(volume)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xDE0EA444735C1368, volume)
```
---
## _GET_SPAWN_DATA_FOR_ROAD_NODE
| Property | Value |
|----------|-------|
| Native Name | `_GET_SPAWN_DATA_FOR_ROAD_NODE` |
| Hash | `0xA3791B915B8B84C6` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `nodeId` (int), `x` (float), `y` (float), `z` (float), `outCoords` (Vector3*), `heading` (float*) |
### Parameters
- **`nodeId`** (`int`)
- **`x`** (`float`)
- **`y`** (`float`)
- **`z`** (`float`)
- **`outCoords`** (`Vector3*`)
- **`heading`** (`float*`)
### Usage
**Lua (Direct):**
```lua
GetSpawnDataForRoadNode(nodeId, x, y, z, outCoords, heading)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xA3791B915B8B84C6, nodeId, x, y, z, outCoords, heading)
```
---
## _NAVMESH_ACTIVATE_SWAP
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_ACTIVATE_SWAP` |
| Hash | `0x7C334FF4D9215912` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `name` (const char*) |
### Parameters
- **`name`** (`const char*`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshActivateSwap(name)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x7C334FF4D9215912, name)
```
---
## _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE` |
| Hash | `0x44026E3DB3CED602` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `vehicle` (Vehicle), `navMeshName` (const char*) |
### Parameters
- **`vehicle`** (`Vehicle`)
- **`navMeshName`** (`const char*`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshAssignNavmeshToVehicle(vehicle, navMeshName)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x44026E3DB3CED602, vehicle, navMeshName)
```
---
## _NAVMESH_CLEAR_REQUESTED_PATH
**Description:** Called in scripts after finished with requested pathes. Immediately resets all values connected to the path handle except query status, which changes from 1 to 2 before eventually becoming fully invalidated to 0.
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_CLEAR_REQUESTED_PATH` |
| Hash | `0x661BB1E1FF77742D` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `path` (int) |
### Parameters
- **`path`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshClearRequestedPath(path)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x661BB1E1FF77742D, path)
```
---
## _NAVMESH_DEACTIVATE_SWAP
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_DEACTIVATE_SWAP` |
| Hash | `0x527B97C203BB8606` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `name` (char*) |
### Parameters
- **`name`** (`char*`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshDeactivateSwap(name)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x527B97C203BB8606, name)
```
---
## _NAVMESH_DOES_SWAP_EXIST
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_DOES_SWAP_EXIST` |
| Hash | `0x495CFAB2924237C7` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `name` (char*) |
### Parameters
- **`name`** (`char*`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshDoesSwapExist(name)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x495CFAB2924237C7, name)
```
---
## _NAVMESH_IS_SWAP_ACTIVE
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_IS_SWAP_ACTIVE` |
| Hash | `0x5AC0944C156E5F44` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `name` (char*) |
### Parameters
- **`name`** (`char*`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshIsSwapActive(name)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x5AC0944C156E5F44, name)
```
---
## _NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS
**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):**
```lua
local result = NavmeshRequestedPathNumWaypoints(path)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xD470725E0703D22F, path)
```
---
## _NAVMESH_REQUESTED_PATH_WAYPOINTS_FOUND
**Description:** Returns true if a path of waypoints was found. Waypoints can be retrieved with _NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS and _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_REQUESTED_PATH_WAYPOINTS_FOUND` |
| Hash | `0x8800776E410EB669` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `path` (int) |
### Parameters
- **`path`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshRequestedPathWaypointsFound(path)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x8800776E410EB669, path)
```
---
## _NAVMESH_REQUESTED_PATH_WAYPOINTS_TERRAIN
**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.
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_REQUESTED_PATH_WAYPOINTS_TERRAIN` |
| Hash | `0xF61CFEDEAB627BFA` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `path` (int) |
### Parameters
- **`path`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshRequestedPathWaypointsTerrain(path)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xF61CFEDEAB627BFA, path)
```
---
## _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
**Description:** Returns a vector3 waypoint at the specified index for a path. Use _NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS to get available indexes.
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX` |
| Hash | `0x430F8319AE56C8A9` |
| Return Type | `Vector3` |
| Build | `1207` |
| Parameters | `path` (int), `waypointIndex` (int) |
### Parameters
- **`path`** (`int`)
- **`waypointIndex`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshRequestedPathWaypointByIndex(path, waypointIndex)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x430F8319AE56C8A9, path, waypointIndex)
```
---
## _NAVMESH_REQUESTED_QUERY_STATUS
**Description:** Returns eNavMeshQueryStatus
enum eNavMeshQueryStatus
{
QS_NOT_FOUND,
QS_COMPLETE,
QS_PENDING
};
It appears that the pending state of 2 is at least also used when cleaning up a request (_NAVMESH_CLEAR_REQUESTED_PATH) or if a request never completes. Eventually queries are invalidated and return 0.
Old name: _NAVMESH_QUERY_STATUS
| Property | Value |
|----------|-------|
| Native Name | `_NAVMESH_REQUESTED_QUERY_STATUS` |
| Hash | `0x3A0F82F6EE2291C8` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `path` (int) |
### Parameters
- **`path`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = NavmeshRequestedQueryStatus(path)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x3A0F82F6EE2291C8, path)
```
---
## _REMOVE_NAVMESH_BLOCKING_VOLUME
| Property | Value |
|----------|-------|
| Native Name | `_REMOVE_NAVMESH_BLOCKING_VOLUME` |
| Hash | `0x2C87C3E1C7B96EE2` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `volume` (Volume) |
### Parameters
- **`volume`** (`Volume`)
### Usage
**Lua (Direct):**
```lua
RemoveNavmeshBlockingVolume(volume)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x2C87C3E1C7B96EE2, volume)
```
---
## _SIMULATED_ROUTE_CREATE
| Property | Value |
|----------|-------|
| Native Name | `_SIMULATED_ROUTE_CREATE` |
| Hash | `0xFD5BB35AAB83FD48` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `x1` (float), `y1` (float), `z1` (float), `x2` (float), `y2` (float), `z2` (float), `p6` (int) |
### Parameters
- **`x1`** (`float`)
- **`y1`** (`float`)
- **`z1`** (`float`)
- **`x2`** (`float`)
- **`y2`** (`float`)
- **`z2`** (`float`)
- **`p6`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = SimulatedRouteCreate(x1, y1, z1, x2, y2, z2, p6)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xFD5BB35AAB83FD48, x1, y1, z1, x2, y2, z2, p6)
```
---
## _SIMULATED_ROUTE_DELETE
| Property | Value |
|----------|-------|
| Native Name | `_SIMULATED_ROUTE_DELETE` |
| Hash | `0x4907D0E4FB26EE65` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
SimulatedRouteDelete(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x4907D0E4FB26EE65, p0)
```
---
## _SIMULATED_ROUTE_EXISTS
| Property | Value |
|----------|-------|
| Native Name | `_SIMULATED_ROUTE_EXISTS` |
| Hash | `0x65A8196B8D7F5E0B` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = SimulatedRouteExists(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x65A8196B8D7F5E0B, p0)
```
---
*End of PATHFIND natives part 2*