Garry's Mod Wiki

game.GetAmmoData

  table game.GetAmmoData( number id )

Description

Returns the AmmoData structure for given ID.

Arguments

1 number id
ID of the ammo type to look up the data for

Returns

1 table
The AmmoData structure containing all ammo data