Bans a client.
bool BanClient(int client, int time, int flags, const char[] reason, const char[] kick_message, const char[] command, any source)
Client being banned.
Time (in minutes) to ban (0 = permanent).
Flags for controlling the ban mechanism. If AUTHID is set and no AUTHID is available, the ban will fail unless AUTO is also flagged.
Reason to ban the client for.
Message to display to the user when kicking.
Command string to identify the source. If this is left empty, then the OnBanClient forward will not be called.
A source value that could be interpreted as a player index of any sort (not actually checked by Core).
True on success, false on failure.
Invalid client index or client not in game.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.