_HAS_COLLISION_LOADED_AT_COORD
Returns true if world collision has loaded at the given coordinates.
Signature
BOOL _HAS_COLLISION_LOADED_AT_COORD(float x, float y, float z); // 0xDA8B2EAF29E872E2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
Facts
| Name | _HAS_COLLISION_LOADED_AT_COORD |
|---|---|
| Hash | 0xDA8B2EAF29E872E2 |
| 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(0xDA8B2EAF29E872E2, -- _HAS_COLLISION_LOADED_AT_COORD
0.0, -- float x
0.0, -- float y
0.0 -- float z
)
if result then
-- ...
end// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xDA8B2EAF29E872E2", // _HAS_COLLISION_LOADED_AT_COORD
0.0, // float x
0.0, // float y
0.0, // float z
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xDA8B2EAF29E872E2, // _HAS_COLLISION_LOADED_AT_COORD
0.0f, // float x
0.0f, // float y
0.0f // float z
);Related STREAMING natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.