Garry's Mod Wiki

game.GetAmmoMax

number game.GetAmmoMax( number id )

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: 33ms

DB GetPage 8
Generate Html 2
SaveChanges (1) 14
Render Body 0
Render Sidebar 6