# VEHICLE::DISABLE_VEHICLE_WEAPON

- **Hash:** `0x94B1E71B144356A5`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `DisableVehicleWeapon`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/DISABLE_VEHICLE_WEAPON

## Signature

```c
void DISABLE_VEHICLE_WEAPON(BOOL disabled, Hash weaponHash, Vehicle vehicle, Ped owner);
```

## Parameters

- `disabled` (`BOOL`)
- `weaponHash` (`Hash`)
- `vehicle` (`Vehicle`)
- `owner` (`Ped`)

## Returns

`void`

## Usage

### Lua

```lua
DisableVehicleWeapon(disabled, weaponHash, vehicle, owner)

-- always available, by hash
Citizen.InvokeNative(0x94B1E71B144356A5, disabled, weaponHash, vehicle, owner)
```

### JavaScript

```js
DisableVehicleWeapon(disabled, weaponHash, vehicle, owner);

// by hash
Citizen.invokeNative('0x94B1E71B144356A5', disabled, weaponHash, vehicle, owner);
```

### C#

```csharp
Function.Call((Hash)0x94B1E71B144356A5, disabled, weaponHash, vehicle, owner);
```

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

*Sources: alloc8or RDR3 NativeDB.*
