The Lab
PATH native

GET_NUM_NAVMESHES_EXISTING_IN_AREA

returns int6 paramsbuild 1207

Returns how many navmeshes exist within the given area.

Signature

C
int GET_NUM_NAVMESHES_EXISTING_IN_AREA(float p0, float p1, float p2, float p3, float p4, float p5); // 0x01708E8DD3FF8C65 b1207

Parameters

#NameType
1p0float
2p1float
3p2float
4p3float
5p4float
6p5float

Facts

Facts about GET_NUM_NAVMESHES_EXISTING_IN_AREA
Name
GET_NUM_NAVMESHES_EXISTING_IN_AREA
Hash
0x01708E8DD3FF8C65
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x01708E8DD3FF8C65, -- GET_NUM_NAVMESHES_EXISTING_IN_AREA
  0.0, -- float p0
  0.0, -- float p1
  0.0, -- float p2
  0.0, -- float p3
  0.0, -- float p4
  0.0, -- float p5
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x01708E8DD3FF8C65", // GET_NUM_NAVMESHES_EXISTING_IN_AREA
  0.0, // float p0
  0.0, // float p1
  0.0, // float p2
  0.0, // float p3
  0.0, // float p4
  0.0, // float p5
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x01708E8DD3FF8C65, // GET_NUM_NAVMESHES_EXISTING_IN_AREA
  0.0f, // float p0
  0.0f, // float p1
  0.0f, // float p2
  0.0f, // float p3
  0.0f, // float p4
  0.0f // float p5
);
All PATH natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.