The Lab
STREAMING native

_GET_IPL_BOUNDING_SPHERE

returns BOOL3 paramsbuild 1207

Writes the center and radius of the bounding sphere of the IPL iplHash to the output pointers and returns true on success.

Signature

C
BOOL _GET_IPL_BOUNDING_SPHERE(Hash iplHash, Vector3* position, float* radius); // 0x9C77964B0E07B633 b1207

Parameters

#NameType
1iplHashHash
2positionVector3* (out pointer)
3radiusfloat* (out pointer)

Facts

Facts about _GET_IPL_BOUNDING_SPHERE
Name
_GET_IPL_BOUNDING_SPHERE
Hash
0x9C77964B0E07B633
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, position, radius = Citizen.InvokeNative(0x9C77964B0E07B633, -- _GET_IPL_BOUNDING_SPHERE
  GetHashKey("name"), -- Hash iplHash
  Citizen.PointerValueVector(), -- Vector3* position
  Citizen.PointerValueFloat(), -- float* radius
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, position, radius] = Citizen.invokeNative("0x9C77964B0E07B633", // _GET_IPL_BOUNDING_SPHERE
  GetHashKey("name"), // Hash iplHash
  Citizen.pointerValueVector(), // Vector3* position
  Citizen.pointerValueFloat(), // float* radius
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var positionArg = new OutputArgument();
var radiusArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x9C77964B0E07B633, // _GET_IPL_BOUNDING_SPHERE
  (uint)API.GetHashKey("name"), // Hash iplHash
  positionArg, // Vector3* position
  radiusArg // float* radius
);
Vector3 position = positionArg.GetResult<Vector3>();
float radius = radiusArg.GetResult<float>();
All STREAMING natives

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