Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 6