Garry's Mod Wiki

Player:RemoveAmmo

  Player:RemoveAmmo( number ammoCount, string ammoName )

Description

Removes the amount of the specified ammo from the player.

Arguments

1 number ammoCount
The amount of ammunition to remove.
2 string ammoName
The name of the ammunition to remove from. This can also be a number ammoID.