# STREAMING::_GET_IPL_BOUNDING_SPHERE

- **Hash:** `0x9C77964B0E07B633`
- **Namespace:** STREAMING
- **Runtime name (Lua/JS):** `GetIplBoundingSphere`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/STREAMING/_GET_IPL_BOUNDING_SPHERE

## Signature

```c
BOOL _GET_IPL_BOUNDING_SPHERE(Hash iplHash, Vector3* position, float* radius);
```

## Parameters

- `iplHash` (`Hash`)
- `position` (`Vector3*`)
- `radius` (`float*`)

## Returns

`BOOL`

## Description

*Source: alloc8or RDR3 NativeDB*

Outputs IPL position and radius (previously wrongly named heading)
https://github.com/femga/rdr3_discoveries/blob/master/imaps/imaps_with_coords_and_heading.lua

*Source: femga rdr3_discoveries*

```
// 0x9C77964B0E07B633       (by Disquse)
BOOL _GET_IMAP_POSITION_AND_HEADING(Hash imapHash, Vector3* position, float* heading);
/*
  This one can be extremely useful for imap researching.
*/

Usage example:
local isValid, position, heading = Citizen.InvokeNative(0x9C77964B0E07B633, 2040843256, Citizen.PointerValueVector(), Citizen.PointerValueFloat(), Citizen.ResultAsInteger(), Citizen.ReturnResultAnyway())
if isValid then
  local ped = PlayerPedId()
  SetEntityCoords(ped, position)
  SetEntityHeading(ped, heading)
end
```

## Usage

### Lua

```lua
local retval, position, radius = GetIplBoundingSphere(iplHash)

-- always available, by hash
local retval, position, radius = Citizen.InvokeNative(0x9C77964B0E07B633, iplHash, Citizen.PointerValueVector(), Citizen.PointerValueFloat(), Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, position, radius] = GetIplBoundingSphere(iplHash);

// by hash
const [retval, position, radius] = Citizen.invokeNative('0x9C77964B0E07B633', iplHash, Citizen.pointerValueVector(), Citizen.pointerValueFloat(), Citizen.returnResultAnyway());
```

### C#

```csharp
var position = new OutputArgument();
var radius = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x9C77964B0E07B633, iplHash, position, radius);
// position.GetResult<Vector3>()
// radius.GetResult<float>()
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, femga rdr3_discoveries.*
