Garry's Mod Wiki

Weapon:HasAmmo

Weapon:HasAmmo

  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.

Special Pages


Wikis

?

Render Time: 52ms

DB GetPage 35
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 7