_GET_VOLUME_BOUNDS
Hash
0x5737199AF2DC609FRuntime name
GetVolumeBoundsNamespaceVOLUME
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _GET_VOLUME_BOUNDS(Volume volume, Vector3* min, Vector3* max);Parameters
| Name | Type | Description |
|---|---|---|
volume | Volume | — |
min | Vector3* | — |
max | Vector3* | — |
Returns void
Usage
local min, max = GetVolumeBounds(volume)
-- always works, by hash
local min, max = Citizen.InvokeNative(0x5737199AF2DC609F, volume, Citizen.PointerValueVector(), Citizen.PointerValueVector())JavaScript and C#
const [min, max] = GetVolumeBounds(volume);
// by hash
const [min, max] = Citizen.invokeNative('0x5737199AF2DC609F', volume, Citizen.pointerValueVector(), Citizen.pointerValueVector());var min = new OutputArgument();
var max = new OutputArgument();
Function.Call((Hash)0x5737199AF2DC609F, volume, min, max);
// min.GetResult<Vector3>()
// max.GetResult<Vector3>()- 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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.