The FiveM 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 / FiveM
Native reference
- PATHFINDBOOL
IS_VEHICLE_NODE_ID_VALID
``` Returns true if the id is non zero. ```
0x1EAF30FCFBF5AF74 - PATHFINDBOOL
LOAD_ALL_PATH_NODES
``` This native has been removed in v1180. ```
0x80E4A6EDDB0BE8D9 - PATHFINDvoid
REMOVE_NAVMESH_BLOCKING_OBJECT
Description not yet documented
0x46399A7895957C0E - PATHFINDvoid
REMOVE_NAVMESH_REQUIRED_REGIONS
Description not yet documented
0x916F0A3CDEC3445E - PATHFINDBOOL
_REQUEST_PATHS_PREFER_ACCURATE_BOUNDINGSTRUCT
``` Used internally for long range tasks ```
0x07FB139B592FA687 - PATHFINDvoid
_SET_AI_GLOBAL_PATH_NODES_TYPE
Activates Cayo Perico path nodes if passed `1`. GPS navigation will start working, maybe more stuff will change, not sure. It seems if you try to unload (pass `0`) when close to the island, your game might crash. ``` NativeDB Introduced: v2189 ```
0xF74B1FFA4A15FBEA - PATHFINDvoid
_SET_ALL_PATHS_CACHE_BOUNDINGSTRUCT
``` Toggles a global boolean, name is probably a hash collision but describes its functionality. ```
0x228E5C6AD4D74BFD - PATHFINDvoid
SET_AMBIENT_PED_RANGE_MULTIPLIER_THIS_FRAME
Description not yet documented
0x0B919E1FB47CC4E0 - PATHFINDvoid
SET_GPS_DISABLED_ZONE
Description not yet documented
0xDC20483CD3DD5201 - PATHFINDvoid
SET_GPS_DISABLED_ZONE_AT_INDEX
Disables the GPS route displayed on the minimap while within a certain zone (area). When in a disabled zone and creating a waypoint, the GPS route is not shown on the minimap until you are outside of the zone. When disabled, the direct distance is shown on minimap opposed to distance to travel. Seems to only work before setting a waypoint. You can clear the disabled zone with CLEAR_GPS_DISABLED_ZONE_AT_INDEX. **Setting a waypoint at the same coordinate:** Disabled Zone:  Enabled Zone (normal): 
0xD0BC1C6FB18EE154 - PATHFINDvoid
SET_IGNORE_NO_GPS_FLAG
Description not yet documented
0x72751156E7678833 - PATHFINDvoid
_SET_IGNORE_SECONDARY_ROUTE_NODES
``` See: SET_BLIP_ROUTE ```
0x1FC289A0C3FF470F - PATHFINDvoid
SET_PED_PATHS_BACK_TO_ORIGINAL
``` NativeDB Added Parameter 7: Any p6 ```
0xE04B48F2CC926253 - PATHFINDvoid
SET_PED_PATHS_IN_AREA
``` NativeDB Added Parameter 8: Any p7 ```
0x34F060F4BF92E018 - PATHFINDvoid
SET_ROADS_BACK_TO_ORIGINAL
``` missing a last parameter int p6 ``` ``` NativeDB Added Parameter 7: Any p6 ```
0x1EE7063B80FFC77C - PATHFINDvoid
SET_ROADS_BACK_TO_ORIGINAL_IN_ANGLED_AREA
See [`IS_POINT_IN_ANGLED_AREA`](#\_0x2A70BAE8883E4C81) for the definition of an angled area. ``` NativeDB Added Parameter 8: Any p7 bool p7 - always 1 ```
0x0027501B9F3B407E - PATHFINDvoid
SET_ROADS_IN_ANGLED_AREA
unknown3 is related to `SEND_SCRIPT_WORLD_STATE_EVENT > CNetworkRoadNodeWorldStateData` in networked environments. See [`IS_POINT_IN_ANGLED_AREA`](#\_0x2A70BAE8883E4C81) for the definition of an angled area.
0x1A5AA1208AF5DB59 - PATHFINDvoid
SET_ROADS_IN_AREA
When this is set to false, all nodes in the area get disabled. `GET_VEHICLE_NODE_IS_SWITCHED_OFF` returns true afterwards. If it's true, `GET_VEHICLE_NODE_IS_SWITCHED_OFF` returns false.
0xBF1A602B5BA52FEE - PATHFINDvoid
UPDATE_NAVMESH_BLOCKING_OBJECT
Description not yet documented
0x109E99373F290687
A living reference. Documentation coverage varies by native and source.