AntiCheat Kick Problem
#1

Hey guys. On my anticheat i have the function that if u use a weapon non authorized, i get kicked from the server. But, if a player got kicked, he can't come back to the server because the server say that he is kicked.

This is the kick function
Код:
public playerfoundweapon(playerid)
{
	if(CheatMsg == 1)
	{
	new sendername[MAX_PLAYER_NAME];
	new string[255];
  	GetPlayerName(playerid, sendername, sizeof(sendername));
  format(string, sizeof(string), "%s was kicked by Auto Kick, Reason: Unauthorized Weapon", sendername);
  SendClientMessageToAll(0xFF000096,string);
	}
  SendClientMessage(playerid,0xFF000096,"You are kicked for having a blocked weapon");
  ResetPlayerWeapons(playerid);
  return Kick(playerid);
}
how can i do that the player can come back to the server after kick?
Reply


Messages In This Thread
AntiCheat Kick Problem - by steven_italy - 09.06.2009, 10:12
Re: AntiCheat Kick Problem - by Vince - 09.06.2009, 11:03
Re: AntiCheat Kick Problem - by steven_italy - 09.06.2009, 11:15

Forum Jump:


Users browsing this thread: 1 Guest(s)