The Lab
PATH native

ARE_NODES_LOADED_FOR_AREA

returns BOOL4 paramsbuild 1207

Returns true if path nodes are loaded for the rectangle between the two X/Y corners.

Signature

C
BOOL ARE_NODES_LOADED_FOR_AREA(float x1, float y1, float x2, float y2); // 0xF7B79A50B905A30D b1207

Parameters

#NameType
1x1float
2y1float
3x2float
4y2float

Facts

Facts about ARE_NODES_LOADED_FOR_AREA
Name
ARE_NODES_LOADED_FOR_AREA
Hash
0xF7B79A50B905A30D
Namespace
Returns
BOOL
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(0xF7B79A50B905A30D, -- ARE_NODES_LOADED_FOR_AREA
  0.0, -- float x1
  0.0, -- float y1
  0.0, -- float x2
  0.0 -- float y2
)
if result then
  -- ...
end
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xF7B79A50B905A30D", // ARE_NODES_LOADED_FOR_AREA
  0.0, // float x1
  0.0, // float y1
  0.0, // float x2
  0.0, // float y2
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xF7B79A50B905A30D, // ARE_NODES_LOADED_FOR_AREA
  0.0f, // float x1
  0.0f, // float y1
  0.0f, // float x2
  0.0f // float y2
);
All PATH natives

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