game.GetAmmoName

From Garry's Mod
Revision as of 11:37, 26 October 2015 by OmegaExtern (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 game.GetAmmoName( )

Description

Returns the ammo name for given ammo type ID.

See game.GetAmmoID for reverse.

Arguments

number id

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

Returns

string

The name of given ammo type ID or nil if ammo type ID is invalid.
Personal tools
Navigation