# VEHICLE::_SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME

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

## Signature

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

## Parameters

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

## Returns

`void`

## Usage

### Lua

```lua
SetAllVehicleGeneratorsDisabledForVolume(volume, toggle)

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

### JavaScript

```js
SetAllVehicleGeneratorsDisabledForVolume(volume, toggle);

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

### C#

```csharp
Function.Call((Hash)0x424FFCB9F0D2D4B5, 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.*
