GetAmmo
Returns how much ammo a player has.
Syntax
GetAmmo @player ammo_type
Returns
number value
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
player | Yes | Player value e.g. @player, with EXACTLY 1 player. | |
ammo type | Yes | One of the following options: > Ammo9x19 > Ammo556x45 > Ammo762x39 > Ammo44cal > Ammo12gauge | Options: Ammo9x19, Ammo556x45, Ammo762x39, Ammo44cal, Ammo12gauge |
On a running server
Use serhelp GetAmmo to inspect the reference generated by your installed SER version.