Garry's Mod Wiki

Garry's Mod Wiki

  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

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 four times a day. Edits and history are not available.

Last Parsed: Loading...