Garry's Mod Wiki

WEAPON:Ammo2

WEAPON:Ammo2

  number WEAPON:Ammo2()

Description

Returns how much of secondary ammo the player has.

Returns

1 number
The amount of secondary ammo player has

Example

As defined in weapon_base

function SWEP:Ammo2() return self.Owner:GetAmmoCount( self.Weapon:GetSecondaryAmmoType() ) end

Special Pages


Wikis

?

Render Time: 58ms

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