Garry's Mod Wiki

Garry's Mod Wiki

  boolean 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.

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

Returns

1 boolean
Whether the weapon has ammo or not.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...