01.12.2012, 21:04
Look, I tried this:
But i have some bugs yet.
Now, you are not kicked, but you cant win or lose money too. This script that I worked, is now returning the money to 'Normal Money', always when have some change.
Код:
if(AntiMoneyHack == 1)
{
if(IsPlayerInRangeOfPoint(i, 200, 2235.9165, 1603.2797, 1006.1818)){
SetRealMoney(i, GetPlayerMoney(i));
}else{
if(PlayerGotSpottedRecently[i] == 0)
{
if(Checked[i] == 0)
{
if(!IsAtCandySprunk(i))
{
if(GetPlayerMoney(i) != ScriptMoney[i])
{
if(ScriptMoneyUpdated[i] == 0)
{
if(IsAtPaySpray(i))
{
SetRealMoney(i, GetPlayerMoney(i));
}
if(IsAtTransfender(i))
{
SetRealMoney(i, GetPlayerMoney(i));
}
if((GetPlayerMoney(i) - ScriptMoney[i]) >= 500)
{
if(admins == 0 || afkadmins == admins)
{
format(string, sizeof(string), "%s (%d), Foi Kickado pelo Anticheat Need_Ziinho Por Possivel Money Hack.", plname, i);
SendClientMessageToAll(COLOR_NICERED, string);
format(string, sizeof(string), "Vocк Foi Kickado pelo Anticheat Need_Ziinho Por Possivel Money Hack (R$%d)",(GetPlayerMoney(i) - ScriptMoney[i]));
SendClientMessage(i,COLOR_LIGHTBLUE, string);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Anticheat Kickou %s por: Money Hack (R$%d)",d,m,y,h,mi,s,plname,(GetPlayerMoney(i) - ScriptMoney[i]));
KickLog(string);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Kickado Pelo Anticheat - Money Hack.",d,m,y,h,mi,s,plname);
AddPunishment(i, string);
Kick(i);
}
format(string, sizeof(string), "[AntiCheat]: %s (%d) Estб Possivelmente Usando Money Hack; Cheque-o Imediatamente!!", 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);
}
else
{
format(string, sizeof(string), "[Anticheat]: %s (%d) Estб bugado na Estimativa De Dinheiro, Cheque-o imediatamente!!", plname, i);
SendAdminMessage(COLOR_YELLOW, string);
PlayerSuspicious[i] = 1;
PlayerOnCashInbalance[i] = 1;
PlayerSuspiciousMoney[i] = (GetPlayerMoney(i) - ScriptMoney[i]);
PlayerGotSpottedRecently[i] = 1;
SetTimerEx("ResetAcWarn", 90000, 0, "i", i);
}
}
}
}
}
}
}
}
Now, you are not kicked, but you cant win or lose money too. This script that I worked, is now returning the money to 'Normal Money', always when have some change.

