Garry's Mod Wiki

game.GetAmmoMax

game.GetAmmoMax

number game.GetAmmoMax( number id )

Description

Returns the real maximum amount of ammo of given ammo ID, regardless of the setting of gmod_maxammo convar.

Arguments

1 number id
Ammo type ID

Returns

1 number
The maximum amount of reserve ammo a player can hold of this ammo type.

Special Pages


Wikis

?

Render Time: 60ms

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