RedM Natives

GET_VOLUME_SCALE

Hash0x3E2A25B2416DD67E
Runtime nameGetVolumeScale
NamespaceVOLUME
SideClient
NameOfficial
Docs
Since build1207

Signature

Vector3 GET_VOLUME_SCALE(Volume volume);

Parameters

NameTypeDescription
volumeVolume—

Returns Vector3

Usage

Lua
local retval = GetVolumeScale(volume)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3E2A25B2416DD67E, volume, Citizen.ResultAsVector())
JavaScript and C#
JavaScript
const retval = GetVolumeScale(volume);

// by hash
const retval = Citizen.invokeNative('0x3E2A25B2416DD67E', volume, Citizen.returnResultAnyway(), Citizen.resultAsVector());
C#
Vector3 retval = Function.Call<Vector3>((Hash)0x3E2A25B2416DD67E, volume);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.