The Lab
VOLUME native

_SET_VOLUME_RELATIONSHIP

returns void2 paramsbuild 1207

Assigns the relationship group relationshipGroup to volume.

Signature

C
void _SET_VOLUME_RELATIONSHIP(Volume volume, Hash relationshipGroup); // 0xFD010A2154B40676 b1207

Parameters

#NameType
1volumeVolume
2relationshipGroupHash

Facts

Facts about _SET_VOLUME_RELATIONSHIP
Name
_SET_VOLUME_RELATIONSHIP
Hash
0xFD010A2154B40676
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xFD010A2154B40676, -- _SET_VOLUME_RELATIONSHIP
  0, -- Volume volume
  GetHashKey("name") -- Hash relationshipGroup
)
JavaScript
Citizen.invokeNative("0xFD010A2154B40676", // _SET_VOLUME_RELATIONSHIP
  0, // Volume volume
  GetHashKey("name") // Hash relationshipGroup
);
C#
Function.Call((Hash)0xFD010A2154B40676, // _SET_VOLUME_RELATIONSHIP
  0, // Volume volume
  (uint)API.GetHashKey("name") // Hash relationshipGroup
);
All VOLUME natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.