RedM Natives

_SET_VOLUME_RELATIONSHIP

Hash0xFD010A2154B40676
Runtime nameSetVolumeRelationship
NamespaceVOLUME
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_VOLUME_RELATIONSHIP(Volume volume, Hash relationshipGroup);

Parameters

NameTypeDescription
volumeVolume—
relationshipGroupHash—

Returns void

Usage

Lua
SetVolumeRelationship(volume, relationshipGroup)

-- always works, by hash
Citizen.InvokeNative(0xFD010A2154B40676, volume, relationshipGroup)
JavaScript and C#
JavaScript
SetVolumeRelationship(volume, relationshipGroup);

// by hash
Citizen.invokeNative('0xFD010A2154B40676', volume, relationshipGroup);
C#
Function.Call((Hash)0xFD010A2154B40676, volume, relationshipGroup);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • 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.

See also

Sources

alloc8or RDR3 NativeDB

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