16.01.2013, 04:29
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,
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;
}