Garry's Mod Wiki

game.BuildAmmoTypes

  table game.BuildAmmoTypes()

Description

This is used internally - although you're able to use it you probably shouldn't. Consider using game.GetAmmoTypes and game.GetAmmoData instead.

Called by the engine to retrieve the ammo types.

Returns

1 table
All ammo types registered via game.AddAmmoType, sorted by its name value.