RedM Natives

_SET_SCENARIO_PED_VOLUME_REFERENCE

Registers the given volume with ped/scenario systems (stores a global ref).

Hash0x9E3842E5DAD69F80
Runtime nameSetScenarioPedVolumeReference
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_SCENARIO_PED_VOLUME_REFERENCE(Volume volume);

Parameters

NameTypeDescription
volumeVolume—

Returns void

Description

alloc8or RDR3 NativeDB

Registers the given volume with ped/scenario systems (stores a global ref). Used by SP scripts to keep a volume alive; calling again replaces the previous ref.

VORPCORE RDR3natives

Only used in SP R* Script loanshark_hunter

Usage

Lua
SetScenarioPedVolumeReference(volume)

-- always works, by hash
Citizen.InvokeNative(0x9E3842E5DAD69F80, volume)
JavaScript and C#
JavaScript
SetScenarioPedVolumeReference(volume);

// by hash
Citizen.invokeNative('0x9E3842E5DAD69F80', volume);
C#
Function.Call((Hash)0x9E3842E5DAD69F80, volume);
  • 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 · VORPCORE RDR3natives

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