Ejemplo n.º 1
0
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);
}
Ejemplo n.º 2
0
void _ClientKickDisconnect (edict_t * ent)
{
	_ClrKickVotesOn (ent);
}