Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 10
Render Body 0
Render Sidebar 11