Garry's Mod Wiki

Garry's Mod Wiki

  string game.GetAmmoName( number id )

Description

Returns the ammo name for given ammo type ID.

See game.GetAmmoID for reverse.

Arguments

1 number id
Ammo ID to retrieve the name of. Starts from 1.

Returns

1 string
The name of given ammo type ID or nil if ammo type ID is invalid.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...