The RedM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / RedM
Native reference
- PATHFINDvoid
_0x264E9A5CD78C338F
Description not yet documented
0x264E9A5CD78C338F - PATHFINDvoid
_0x34C9AF25649172D0
Description not yet documented
0x34C9AF25649172D0 - PATHFINDvoid
_0x4358BCF14C91761C
Description not yet documented
0x4358BCF14C91761C - PATHFINDvoid
_0x4BDEBEA5702B97A9
Description not yet documented
0x4BDEBEA5702B97A9 - PATHFINDAny
_0x54F4D7B6670FBB5A
Description not yet documented
0x54F4D7B6670FBB5A - PATHFINDint
_0x5A3B54ADDF5472A3
Description not yet documented
0x5A3B54ADDF5472A3 - PATHFINDvoid
_0x5A4E1A41E3A02AD0
Description not yet documented
0x5A4E1A41E3A02AD0 - PATHFINDAny
_0x665B21666351CB37
Description not yet documented
0x665B21666351CB37 - PATHFINDvoid
_0x6C3F12ECEB6D2E2A
Description not yet documented
0x6C3F12ECEB6D2E2A - PATHFINDvoid
_0x6DAD6630AE4A74CB
Description not yet documented
0x6DAD6630AE4A74CB - PATHFINDvoid
_0x869A7015BD4606E9
Description not yet documented
0x869A7015BD4606E9 - PATHFINDAny*
_0xA33914B00CA55756
Description not yet documented
0xA33914B00CA55756 - PATHFINDvoid
_0xAFE2AE66F6251C66
Description not yet documented
0xAFE2AE66F6251C66 - PATHFINDvoid
_0xB03944057FD735BA
Description not yet documented
0xB03944057FD735BA - PATHFINDAny
_0xCA27A86CAA4E98ED
Description not yet documented
0xCA27A86CAA4E98ED - PATHFINDvoid
_0xCF213A5FC3ABFC08
Description not yet documented
0xCF213A5FC3ABFC08 - PATHFINDvoid
_0xE5EF9DE716FF737E
Description not yet documented
0xE5EF9DE716FF737E - PATHFINDAny
_0xEFC535C9FAF563B3
Description not yet documented
0xEFC535C9FAF563B3 - PATHFINDvoid
_0xF2A2177AC848B3A8
GPS disabled zone: p1 = 0 Clearing GPS disabled zone: p1 = 1
0xF2A2177AC848B3A8 - PATHFINDAny
ADD_NAVMESH_BLOCKING_OBJECT
Creates a navmesh blocking object, vehicles will avoid driving through this area. Only 32 blocking objects may exist at a given time and must be manually managed. See [`REMOVE_NAVMESH_BLOCKING_OBJECT`](#\_0x46399A7895957C0E) and [`onResourceStop`](https://docs.fivem.net/docs/scripting-reference/events/list/onResourceStop/) ```cpp enum eBlockingObjectFlags { // Default Flag BLOCKING_OBJECT_DEFAULT = 0, // Blocking object will block wander paths BLOCKING_OBJECT_WANDERPATH = 1, // Blocking object will block (regular) shortest-paths BLOCKING_OBJECT_SHORTESTPATH = 2, // Blocking object will block flee paths BLOCKING_OBJECT_FLEEPATH = 4, // Blocking object will block all paths BLOCKING_OBJECT_ALLPATHS = 7, } ```
0xFCD5C8E06E502F5A - PATHFINDBOOL
_ADD_NAVMESH_BLOCKING_VOLUME
Description not yet documented
0x19C7567D2F2287D6 - PATHFINDvoid
ADD_NAVMESH_REQUIRED_REGION
Description not yet documented
0x387EAD7EE42F6685 - PATHFINDBOOL
ARE_NODES_LOADED_FOR_AREA
Description not yet documented
0xF7B79A50B905A30D - PATHFINDBOOL
DOES_NAVMESH_BLOCKING_OBJECT_EXIST
Description not yet documented
0x0EAEB0DB4B132399 - PATHFINDBOOL
_DOES_NAVMESH_BLOCKING_VOLUME_EXIST
Description not yet documented
0xDE0EA444735C1368 - PATHFINDfloat
GET_APPROX_FLOOR_FOR_POINT
``` Returns CGameWorldHeightMap's minimum Z value at specified point (grid node). ```
0x336511A34F2E5185 - PATHFINDAny
GET_CLOSEST_ROAD
Finds an edge (node connection to another node) that satisfies the specified criteria.
0x132F52BBA570FE92 - PATHFINDBOOL
GET_CLOSEST_VEHICLE_NODE
```cpp enum eGetClosestNodeFlags { GCNF_INCLUDE_SWITCHED_OFF_NODES = 1, GCNF_INCLUDE_BOAT_NODES = 2, GCNF_IGNORE_SLIPLANES = 4, GCNF_IGNORE_SWITCHED_OFF_DEADENDS = 8, GCNF_GET_HEADING = 256, GCNF_FAVOUR_FACING = 512 } ```
0x240A18690AE96513 - PATHFINDBOOL
GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
Description not yet documented
0x23CFFD4CCB243354 - PATHFINDBOOL
GET_GPS_BLIP_ROUTE_FOUND
Description not yet documented
0x869DAACBBE9FA006 - PATHFINDint
GET_GPS_BLIP_ROUTE_LENGTH
Description not yet documented
0xBBB45C3CF5C8AA85 - PATHFINDBOOL
GET_NTH_CLOSEST_VEHICLE_NODE
Description not yet documented
0x5A6D8DF6FBC5D0C4 - PATHFINDBOOL
GET_NTH_CLOSEST_VEHICLE_NODE_FAVOUR_DIRECTION
Description not yet documented
0x2FAC235A6062F14A - PATHFINDint
GET_NTH_CLOSEST_VEHICLE_NODE_ID
Description not yet documented
0x116443008E5CEFC3 - PATHFINDint
GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING
Returns the nth closest vehicle node with a heading to a coord
0x4114EAA8A7F7766D - PATHFINDBOOL
GET_NTH_CLOSEST_VEHICLE_NODE_WITH_HEADING
Description not yet documented
0x591B40D4390DB54A - PATHFINDint
GET_NUM_NAVMESHES_EXISTING_IN_AREA
Description not yet documented
0x01708E8DD3FF8C65 - PATHFINDBOOL
GET_RANDOM_VEHICLE_NODE
Description not yet documented
0x93E0DB8440B73A7D - PATHFINDBOOL
GET_SAFE_COORD_FOR_PED
```cpp enum eSafePositionFlags { // Only navmesh polygons marked as pavement GSC_FLAG_ONLY_PAVEMENT = 1, // Only navmesh polygons not marked as "isolated" GSC_FLAG_NOT_ISOLATED = 2, // No navmesh polygons created from interiors GSC_FLAG_NOT_INTERIOR = 4, // No navmesh polygons marked as water GSC_FLAG_NOT_WATER = 8, // Only navmesh polygons marked as "network spawn candidate" GSC_FLAG_ONLY_NETWORK_SPAWN = 16, // Specify whether to use a flood-fill from the starting position, as opposed to scanning all polygons within the search volume GSC_FLAG_USE_FLOOD_FILL = 32 } ```
0xB61C8E878A4199CA - PATHFINDvoid
_GET_SPAWN_DATA_FOR_ROAD_NODE
Description not yet documented
0xA3791B915B8B84C6
A living reference. Documentation coverage varies by native and source.