Anti-Cheat Bug?
#1

Hey there,

I've got a problem with my Anti-hack, instead of it just sending a report to the admin,I want it to ban the player's IP/account also.

But when anybody connects, it bans them for nothing?

Here's my snippet.

Код:
	
	     new Float:Armour, Msg[128], Reason[128];
                if (APlayerData[playerid][PlayerSpeed] > 300)
		GetPlayerName(PlayerToBan, Name, sizeof(Name));
		SendReportToAdmins(playerid, "(Auto-Banned) Speed Hacks", true);
		format(Msg, 128, "{FF0000}[BANNED] You have been banned by {FFFFFF}Anti-Cheat {FFFF00}Reason: Speed Hacks.");
		SendClientMessage(playerid, 0xFFFFFFFF, Msg);
		BanEx(playerid, Reason);
	       APlayerData[Player][BanTime] = 2147483640;
Would really appriciate some help.

Thanks,
Ashley
Reply


Messages In This Thread
Anti-Cheat Bug? - by Ashley - 13.03.2012, 17:20
Re: Anti-Cheat Bug? - by T0pAz - 13.03.2012, 17:24
Re: Anti-Cheat Bug? - by coole210 - 13.03.2012, 17:25
Re: Anti-Cheat Bug? - by Ashley - 13.03.2012, 17:32
Re: Anti-Cheat Bug? - by Ashley - 14.03.2012, 02:31
Re: Anti-Cheat Bug? - by new121 - 14.03.2012, 05:08

Forum Jump:


Users browsing this thread: 1 Guest(s)