Garry's Mod Wiki

game.GetAmmoID

game.GetAmmoID

  number game.GetAmmoID( string name )

Description

Returns the ammo type ID for given ammo type name.

See game.GetAmmoName for reverse.

Arguments

1 string name
Name of the ammo type to look up ID of

Returns

1 number
The ammo type ID of given ammo type name, or -1 if not found

Special Pages


Wikis

?

Render Time: 62ms

DB GetPage 36
Generate Html 3
SaveChanges (1) 14
Render Body 0
Render Sidebar 7