{"hash":"0x9E3842E5DAD69F80","ns":"PED","name":"_SET_SCENARIO_PED_VOLUME_REFERENCE","slug":"_SET_SCENARIO_PED_VOLUME_REFERENCE","official":false,"named":true,"luaName":"SetScenarioPedVolumeReference","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"volume","type":"Volume"}],"summary":"Registers the given volume with ped/scenario systems (stores a global ref).","descriptions":[{"source":"alloc8or","format":"text","body":"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."},{"source":"vorp","format":"text","body":"Only used in SP R* Script loanshark_hunter"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_SCENARIO_PED_VOLUME_REFERENCE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_SCENARIO_PED_VOLUME_REFERENCE.md","snippets":{"lua":"SetScenarioPedVolumeReference(volume)","luaInvoke":"Citizen.InvokeNative(0x9E3842E5DAD69F80, volume)","js":"SetScenarioPedVolumeReference(volume);","jsInvoke":"Citizen.invokeNative('0x9E3842E5DAD69F80', volume);","csharp":"Function.Call((Hash)0x9E3842E5DAD69F80, volume);","notes":["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."]}}