The Lab
VOLUME native

_SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER

returns void2 paramsbuild 1207

Sets whether the anti-grief volume blocks players.

Signature

C
void _SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER(Volume volume, BOOL toggle); // 0x5B23DFF8E0948BB2 b1207

Parameters

#NameType
1volumeVolume
2toggleBOOL

Facts

Facts about _SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER
Name
_SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER
Hash
0x5B23DFF8E0948BB2
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(0x5B23DFF8E0948BB2, -- _SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER
  0, -- Volume volume
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x5B23DFF8E0948BB2", // _SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER
  0, // Volume volume
  false // BOOL toggle
);
C#
Function.Call((Hash)0x5B23DFF8E0948BB2, // _SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER
  0, // Volume volume
  false // BOOL toggle
);
All VOLUME natives

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