Anti Cheat
#4

ok when i do that:
Код:
public WeaponTimer()
{
	new string[128], str1[60], str2[60], str3[60];
	new username[MAX_PLAYER_NAME];
	for(new i=0; i<MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
  				format(str1,sizeof(str1),"wslot%d",GetWeaponSlot(GetPlayerWeapon(i)));
  				format(str2,sizeof(str2),"weap%d",GetPlayerWeapon(i));
  				if(GetPVarInt(i,str1) != 1)
  				{
					if(GetPVarInt(i,str1) != GetPlayerWeapon(i))
					{
						GetPlayerName(i,username,sizeof(username));
						format(string, 256, "AdmWarning: [%d]%s just try to spawn a weapon",i,username);
						ABroadCast(COLOR_LIGHTRED,string,1);
						Kick(i);
					}
				}
		}
	}
}
it work me fine but GetPlayerWeaponData is more affective because it's get the all weapons that he have and what i did now the cheater will need to change to the weapon ge spawns....../=
Reply


Messages In This Thread
Anti Cheat - by _ReloadeD_ - 10.08.2011, 09:59
Re: Anti Cheat - by Lorenc_ - 10.08.2011, 10:08
Re: Anti Cheat - by _ReloadeD_ - 10.08.2011, 10:11
Re: Anti Cheat - by _ReloadeD_ - 10.08.2011, 10:39
Re: Anti Cheat - by Riddick94 - 10.08.2011, 10:41
Re: Anti Cheat - by _ReloadeD_ - 10.08.2011, 10:52
Re: Anti Cheat - by Riddick94 - 10.08.2011, 11:11
Re: Anti Cheat - by MadeMan - 10.08.2011, 12:03
Re: Anti Cheat - by _ReloadeD_ - 10.08.2011, 19:57
Re: Anti Cheat - by _ReloadeD_ - 10.08.2011, 21:35
Re: Anti Cheat - by _ReloadeD_ - 11.08.2011, 10:15
Re: Anti Cheat - by XGh0stz - 11.08.2011, 10:50

Forum Jump:


Users browsing this thread: 2 Guest(s)