1,544
edits
DrinkyBird (talk | contribs) (Documented BanFromGame) Tag: Source edit |
DrinkyBird (talk | contribs) m (Copy-paste error) Tag: Source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
Bans a player from the server. | Bans a player from the server. This function requires that the [[Server variables#sv_allowacsbanfunction|sv_allowacsbanfunction]] server variable is enabled. | ||
=== Parameters === | === Parameters === | ||
* ''player'': The number of the player to ban. | * ''player'': The number of the player to ban. | ||
* '' | * ''duration'': The duration the player will be banned for, in minutes. Will be clamped in the range 0-60. | ||
* ''reason'': The reason for the ban. | * ''reason'': The reason for the ban. | ||