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
| Name | Required | Type | Description |
|---|---|---|---|
player to get the limit from | Yes | Player value e.g. @player, with EXACTLY 1 player. | |
ammo type | Yes | AmmoType enum value - found using 'serhelp AmmoType' command |
On a running server
Use serhelp GetAmmoLimit to inspect the reference generated by your installed SER version.