# VOLUME::_SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER

- **Hash:** `0x5B23DFF8E0948BB2`
- **Namespace:** VOLUME
- **Runtime name (Lua/JS):** `SetAntiGriefVolumeBlocksPlayer`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VOLUME/_SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER

## Signature

```c
void _SET_ANTI_GRIEF_VOLUME_BLOCKS_PLAYER(Volume volume, BOOL toggle);
```

## Parameters

- `volume` (`Volume`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetAntiGriefVolumeBlocksPlayer(volume, toggle)

-- always available, by hash
Citizen.InvokeNative(0x5B23DFF8E0948BB2, volume, toggle)
```

### JavaScript

```js
SetAntiGriefVolumeBlocksPlayer(volume, toggle);

// by hash
Citizen.invokeNative('0x5B23DFF8E0948BB2', volume, toggle);
```

### C#

```csharp
Function.Call((Hash)0x5B23DFF8E0948BB2, volume, toggle);
```

- 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.

*Sources: alloc8or RDR3 NativeDB.*
