[Ajuda] Ajuste Anti money hack
#1

Olб,

O [Full]Garfield[XDB] me passou um script para os anti money do mod s0rvete, so que ao identificar o money hack, ao inves dele remover a quantia que ele adcionou com o hack, ele faz o inverso, alem do hack ele tambem adciona aquele valor para o jogador,

Exemplo: tenho 0, coloco 500 com o hack e o script tb adciona mais 500,

pawn Код:
new ChegarDinheiro[MAX_PLAYERS];

stock GivePlayerMoneyEx(pid, Y_money)
{
    GivePlayerMoney(pid, Y_money);
    ChegarDinheiro[pid] = Y_money;
    return 1;
}
stock ResetPlayerMoneyEx(pid)
{
    ResetPlayerMoney(pid);
    ChegarDinheiro[pid] = 0x0;
    return 1;
}

public OnPlayerUpdate(playerid)
{
    if(ChegarDinheiro[playerid] < GetPlayerMoney(playerid))
    {
        GivePlayerMoneyEx(playerid,GetPlayerMoney(playerid) - ChegarDinheiro[playerid]);
        ChegarDinheiro[playerid] = GetPlayerMoney(playerid);
    }
    return 1;
}
Reply


Messages In This Thread
Ajuste Anti money hack - by Maklister - 16.01.2013, 04:29
Re: Ajuste Anti money hack - by zSuYaNw - 16.01.2013, 04:53
Re: Ajuste Anti money hack - by Maklister - 16.01.2013, 15:24
Re: Ajuste Anti money hack - by Maklister - 16.01.2013, 21:29
Re: Ajuste Anti money hack - by paulor - 16.01.2013, 22:18
Re: Ajuste Anti money hack - by Maklister - 16.01.2013, 22:39
Re: Ajuste Anti money hack - by paulor - 16.01.2013, 22:48
Re: Ajuste Anti money hack - by Maklister - 16.01.2013, 22:56

Forum Jump:


Users browsing this thread: 1 Guest(s)