SetAmmoLimit
Optional integration
This method requires Exiled.
Sets the players' limit on a certain ammunition type
Syntaxโ
SetAmmoLimit @players_to_set_the_limit_to ammo_type limit
Argumentsโ
| Name | Required | Type | Description |
|---|---|---|---|
players to set the limit to | Yes | Player variable (e.g. @all, @classDPlayers) | |
ammo type | Yes | AmmoType enum value - found using 'serhelp AmmoType' command | |
limit | Yes | A whole number between 0 and 65535 (inclusive) | The accepted range matches the unsigned 16-bit limit used by EXILED. |
On a running serverโ
Use serhelp SetAmmoLimit to inspect the reference generated by your installed SER version.