_GET_IPL_BOUNDING_SPHERE
Writes the center and radius of the bounding sphere of the IPL iplHash to the output pointers and returns true on success.
Signature
BOOL _GET_IPL_BOUNDING_SPHERE(Hash iplHash, Vector3* position, float* radius); // 0x9C77964B0E07B633 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | iplHash | Hash |
| 2 | position | Vector3* (out pointer) |
| 3 | radius | float* (out pointer) |
Facts
| 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.
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
-- ...
endconst [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) {
// ...
}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>();Related STREAMING natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.