Skip to main content

GetAmmoLimit

Optional integration

This method requires Exiled.

Gets the player's limit on a certain ammunition type

Syntax​

GetAmmoLimit @player_to_get_the_limit_from ammo_type

Returns​

number value

Arguments​

NameRequiredTypeDescription
player to get the limit fromYesPlayer value e.g. @player, with EXACTLY 1 player.
ammo typeYesAmmoType enum value - found using 'serhelp AmmoType' command. Ammo types present in the game.

On a running server​

Use serhelp GetAmmoLimit to inspect the reference generated by your installed SER version.