26.12.2011, 13:23
(
Последний раз редактировалось jack3; 26.12.2011 в 14:22.
)
Код:
GetPlayerArmour(playerid, armour[playerid]);
if(armour[playerid] > oldarmour[playerid])
{
if(ArmourBuyed[playerid] == 1) return 0;
BanEx(playerid, "Armour Hack" );
return 0;
}
else
{
GetPlayerArmour(playerid, oldarmour[playerid]);
}
if(armour[playerid] < 100.0)
{
ArmourBuyed[playerid] = 0;
}
I set the timer, to check if a player is armour hacking, to 1 second.My problem is, that the script bans innocent players.
I need a solution that fixes this, or do i need a complete different script?

