Ban Function


Bans a client from the server. This will also automatically kick the client.
Admin.Ban(CBasePlayer@ pPlayer, int time, const char& in strReason)


CBasePlayer@ pPlayer

The client to ban and kick.

int time

Duration of the ban. Setting this to 0 means permanently.

const char& in strReason

Reason of the ban.


True if the client got banned and kicked or false if the client is invalid.