The Lab
VOLUME native

_IS_POINT_NEAR_VOLUME_LOCK_CENTER

returns BOOL7 paramsbuild 1207

Based on its name and signature, here is our best reading:

Returns true if the given point is within radius of a volume lock center matching the filters.

Signature

C
BOOL _IS_POINT_NEAR_VOLUME_LOCK_CENTER(float x, float y, float z, float radius, int p4, int p5, int flags); // 0x769BB7626B8CDB06 b1207

Parameters

#NameType
1xfloat
2yfloat
3zfloat
4radiusfloat
5p4int
6p5int
7flagsint

Facts

Facts about _IS_POINT_NEAR_VOLUME_LOCK_CENTER
Name
_IS_POINT_NEAR_VOLUME_LOCK_CENTER
Hash
0x769BB7626B8CDB06
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(0x769BB7626B8CDB06, -- _IS_POINT_NEAR_VOLUME_LOCK_CENTER
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float radius
  0, -- int p4
  0, -- int p5
  0 -- int flags
)
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("0x769BB7626B8CDB06", // _IS_POINT_NEAR_VOLUME_LOCK_CENTER
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float radius
  0, // int p4
  0, // int p5
  0, // int flags
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x769BB7626B8CDB06, // _IS_POINT_NEAR_VOLUME_LOCK_CENTER
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float radius
  0, // int p4
  0, // int p5
  0 // int flags
);
All VOLUME natives

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