void _DoKick (edict_t * target) { char buf[128]; sprintf (buf, "more than %i%% voted for.", (int) kickvote_pass->value); _ClrKickVotesOn (target); if (kickvote_tempban->value) Ban_TeamKiller(target, 1); //Ban for 1 game KickClient (target, buf); }
void _ClientKickDisconnect (edict_t * ent) { _ClrKickVotesOn (ent); }