# Sandbox.BaseCombatWeapon.UsesAmmo

```csharp
bool UsesAmmo { get; set; }
```

Does primary fire consume ammo at all? When false the weapon never runs dry - for melee, tools and
the like. Switches the whole Ammo feature off.

Declared in [Sandbox.BaseCombatWeapon](/api/Sandbox.BaseCombatWeapon).
Assembly: `Sandbox.Engine`.
