Garry's Mod Wiki

WEAPON:Ammo1

WEAPON:Ammo1

number WEAPON:Ammo1()

Description

Returns how much of primary ammo the player has.

Returns

1 number
The amount of primary ammo player has

Example

As defined in weapon_base

function SWEP:Ammo1() return self.Owner:GetAmmoCount( self.Weapon:GetPrimaryAmmoType() ) end

Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 27
Generate Html 1
SaveChanges (1) 12
Render Body 0
Render Sidebar 6