Skip to main content

GetAmmo

Returns how much ammo a player has.

Syntax​

GetAmmo @player ammo_type

Returns​

number value

Arguments​

NameRequiredTypeDescription
playerYesPlayer value e.g. @player, with EXACTLY 1 player.
ammo typeYesOne 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.