Skip to main content

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โ€‹

NameRequiredTypeDescription
players to set the limit toYesPlayer variable (e.g. @all, @classDPlayers)
ammo typeYesAmmoType enum value - found using 'serhelp AmmoType' command
limitYesA 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.