# Sandbox.BaseCombatWeapon.TakePrimaryAmmo

```csharp
bool TakePrimaryAmmo(int amount = 1)
```

Spend `amount` rounds for a primary shot - from the magazine if it has one,
otherwise reserve, otherwise free. Returns false if there wasn't enough (GMod's TakePrimaryAmmo).

### Parameters

- `amount` (`int`), default `1`

### Returns

`bool`

Declared in [Sandbox.BaseCombatWeapon](/api/Sandbox.BaseCombatWeapon).
Assembly: `Sandbox.Engine`.
