Garry's Mod Wiki

game.GetAmmoName

game.GetAmmoName

  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.

Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 23
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 6