_SET_SCENARIO_PED_VOLUME_REFERENCE
Registers the given volume with ped/scenario systems (stores a global ref).
Hash
0x9E3842E5DAD69F80Runtime name
SetScenarioPedVolumeReferenceNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_SCENARIO_PED_VOLUME_REFERENCE(Volume volume);Parameters
| Name | Type | Description |
|---|---|---|
volume | Volume | — |
Returns void
Description
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.
Only used in SP R* Script loanshark_hunter
Usage
SetScenarioPedVolumeReference(volume)
-- always works, by hash
Citizen.InvokeNative(0x9E3842E5DAD69F80, volume)JavaScript and C#
SetScenarioPedVolumeReference(volume);
// by hash
Citizen.invokeNative('0x9E3842E5DAD69F80', volume);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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.