Garry's Mod Wiki

game.GetAmmoMax

Description

Returns the real maximum amount of ammo of given ammo ID.

Currently all ammo types have overridden maximum value of reserve ammo set to 9999.

Arguments

1 number id
Ammo type ID

Returns

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

Page Links


Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 3
Generate Html 10
SaveChanges (1) 8
Render Body 0
Render Sidebar 12