Weapon:HasAmmo

From Garry's Mod
Jump to: navigation, search
 Weapon:HasAmmo( )

Description

Returns whether the weapon has ammo left or not. It will return false when there's no ammo left in the magazine and when there's no reserve ammo left.

NOTE This will return true for weapons like crowbar, gravity gun, etc.

Returns

boolean

Whether the weapon has ammo or not.
Personal tools
Navigation