Garry's Mod Wiki

game.GetAmmoTypes

  table game.GetAmmoTypes()

Description

Returns a list of all ammo types currently registered.

Returns

1 table
A table containing all ammo types. The keys are ammo IDs, the values are the names associated with those IDs.