Anti Cheat
#9

ok but now i found new problem.....
sometimes players that don't have cheats get banned and I cheack that all GivePlayerWeapon replaced.....
maybe that happend because this:
Код:
forward YAN_ResetPlayerWeapons(playerid);
public YAN_ResetPlayerWeapons(playerid)
{
	new str[10];
	for(new w = 0; w<= 42; w++)
	{
	    format(str,sizeof(str),"weap%d",w);
	    if(GetPVarInt(playerid,str) == 1)
			DeletePVar(playerid,str);
	}
	for(new s = 0; s <= 12; s++)
	{
	    format(str,sizeof(str),"wslot%d",s);
	    if(GetPVarInt(playerid,str) != -1)
			DeletePVar(playerid,str);
	}
	return 1;
}
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)