Garry's Mod Wiki

Weapon:Clip1

  number Weapon:Clip1()

Description

Returns how much primary ammo is in the magazine.

This is not shared between clients and will instead return the maximum primary clip size.

Returns

1 number
The amount of primary ammo in the magazine.

Example

Prints the amount of primary ammo in the magazine of the weapon the 1st player has equipped.

Output: Will print 45 for fully loaded SMG1.