if((GetPlayerMoney(i) - ScriptMoney[i]) >= 500 && (GetPlayerMoney(i) - ScriptMoney[i]) != 0)
if((GetPlayerMoney(i) - ScriptMoney[i]) >= 500 && (GetPlayerMoney(i) - ScriptMoney[i]) != 0)
{
if(admins == 0)
{
format(string, sizeof(string), "%s (%d), Has been kicked by Anticheat for Possible Money Hacking.", plname, i);
SendClientMessageToAll(COLOR_NICERED, string);
format(string, sizeof(string), "You have Been Kicked by The Anticheat For Possible Weapon Money Hacking ($%d)",(GetPlayerMoney(i) - ScriptMoney[i]));
SendClientMessage(i,COLOR_LIGHTBLUE, string);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Anticheat Has Kicked %s for: Money Hacking ($%d)",d,m,y,h,mi,s,plname,(GetPlayerMoney(i) - ScriptMoney[i]));
KickLog(string);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Kicked by the Anticheat - Money Hacking.",d,m,y,h,mi,s,plname);
AddPunishment(i, string);
Kick(i);
}
format(string, sizeof(string), "|ERP-AC|: %s (%d) Is possibly Using Money Hacks; Use /spec and check him!", plname, i);
SendAdminMessage(COLOR_YELLOW, string);
PlayerSuspicious[i] = 1;
PlayerMoneyHacking[i] = 1;
PlayerSuspiciousMoney[i] = (GetPlayerMoney(i) - ScriptMoney[i]);
PlayerGotSpottedRecently[i] = 1;
SetTimerEx("ResetAcWarn", 300000, 0, "i", i);
}
if((GetPlayerMoney(i) - ScriptMoney[i]) >= 500 || (GetPlayerMoney(i) - ScriptMoney[i]) != 0)
Let GetPlayerMoney be 8000. Let ScriptMoney be 5000 if((8000 - 5000) >= 500 && (8000 - 5000) != 0) if(3000 >= 500 && 3000 != 0) if(true && true) true
if((GetPlayerMoney(i) - ScriptMoney[i]) >= 500 && (GetPlayerMoney(i) - ScriptMoney[i]) != 0)
if((GetPlayerMoney(i) - ScriptMoney[i]) >= 500 || (GetPlayerMoney(i) - ScriptMoney[i]) != 0)
pawn Код:
|
if((GetPlayerMoney(i) - ScriptMoney[i]) > 0)
if((GetPlayerMoney(i) - ScriptMoney[i]) != 0)