The Lab
ENTITY native

HAS_COLLISION_LOADED_AROUND_POSITION

returns BOOL3 paramsbuild 1207

Returns true once world collision has loaded around the given position.

Signature

C
BOOL HAS_COLLISION_LOADED_AROUND_POSITION(float xPos, float yPos, float zPos); // 0x6BFBDC46139C45AB b1207

Parameters

#NameType
1xPosfloat
2yPosfloat
3zPosfloat

Facts

Facts about HAS_COLLISION_LOADED_AROUND_POSITION
Name
HAS_COLLISION_LOADED_AROUND_POSITION
Hash
0x6BFBDC46139C45AB
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(0x6BFBDC46139C45AB, -- HAS_COLLISION_LOADED_AROUND_POSITION
  0.0, -- float xPos
  0.0, -- float yPos
  0.0 -- float zPos
)
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("0x6BFBDC46139C45AB", // HAS_COLLISION_LOADED_AROUND_POSITION
  0.0, // float xPos
  0.0, // float yPos
  0.0, // float zPos
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x6BFBDC46139C45AB, // HAS_COLLISION_LOADED_AROUND_POSITION
  0.0f, // float xPos
  0.0f, // float yPos
  0.0f // float zPos
);
All ENTITY natives

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