Anti Weapon Hack only for ID 0
#9

Well I don't really understand what you're doing here.

pawn Code:
new warned = strval(PlayerName);
AccInfo[warned][HackWarnings]++;
You use the integer equivalent of the player's name as the index for AccInfo? Why not just use the playerid? Like this.

pawn Code:
AccInfo[playerid][HackWarnings]++;
Reply


Messages In This Thread
Anti Weapon Hack only for ID 0 - by Julian12345 - 04.06.2011, 17:34
Re: Anti Weapon Hack only for ID 0 - by Jay. - 04.06.2011, 17:36
Re: Anti Weapon Hack only for ID 0 - by Backwardsman97 - 04.06.2011, 17:41
AW: Anti Weapon Hack only for ID 0 - by Julian12345 - 04.06.2011, 17:42
Re: Anti Weapon Hack only for ID 0 - by Backwardsman97 - 04.06.2011, 17:49
AW: Anti Weapon Hack only for ID 0 - by Julian12345 - 04.06.2011, 17:54
Re: Anti Weapon Hack only for ID 0 - by sim_sima - 04.06.2011, 17:56
AW: Anti Weapon Hack only for ID 0 - by Julian12345 - 04.06.2011, 18:20
Re: Anti Weapon Hack only for ID 0 - by Backwardsman97 - 04.06.2011, 19:23
Re: AW: Anti Weapon Hack only for ID 0 - by sim_sima - 05.06.2011, 11:59

Forum Jump:


Users browsing this thread: 1 Guest(s)