_NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE
Assigns the dynamic navmesh navMeshName to vehicle so peds can walk on it.
Signature
BOOL _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE(Vehicle vehicle, const char* navMeshName); // 0x44026E3DB3CED602 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | navMeshName | const char* |
Facts
| Name | _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE |
|---|---|
| Hash | 0x44026E3DB3CED602 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x44026E3DB3CED602, -- _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE
0, -- Vehicle vehicle
"text" -- const char* navMeshName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x44026E3DB3CED602", // _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE
0, // Vehicle vehicle
"text", // const char* navMeshName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x44026E3DB3CED602, // _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE
0, // Vehicle vehicle
"text" // const char* navMeshName
);Related PATH natives
- _NAVMESH_ACTIVATE_SWAP
- _NAVMESH_CLEAR_REQUESTED_PATH
- _NAVMESH_DEACTIVATE_SWAP
- _NAVMESH_DOES_SWAP_EXIST
- _NAVMESH_IS_SWAP_ACTIVE
- _NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS
- _NAVMESH_REQUESTED_PATH_QUERY_STATUS
- _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
- _NAVMESH_REQUESTED_PATH_WAYPOINTS_FOUND
- _NAVMESH_REQUESTED_PATH_WAYPOINTS_TERRAIN
- _ADD_NAVMESH_BLOCKING_VOLUME
- _DOES_NAVMESH_BLOCKING_VOLUME_EXIST
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.