[FilterScript] [GM-ADDON] Anti Money Hack (No-Alternative-Money)
#1

How to use:
CTRL + H
GivePlayerMoney
for

GivePlayerCash


And Final GameMode:

pawn Код:
stock GivePlayerCash(playerid,Contia)
{
GivePlayerMoney(playerid,Contia);
SetPVarInt(playerid,"grana",GetPlayerMoney(playerid));
SetPVarInt(playerid,"AntiMH",10);
}
forward CheckGrana();
public CheckGrana()
{
    for(new to_dos = 0;to_dos < MAX_PLAYERS;to_dos++)//todos players
    {
        if(GetPVarInt(to_dos,"AntiMH") == 10)
        {
        SetPVarInt(to_dos ,"AntiMH",0);
        return 0;
        }
    if(GetPlayerMoney(to_dos) < GetPVarInt(to_dos,"grana")) SetPVarInt(to_dos,"grana",GetPlayerMoney(to_dos));
    while(GetPlayerMoney(to_dos) <= GetPVarInt(to_dos,"grana"))  return 0;
    /*
    HERE THE BAN
    */

    }
    return 1;
}
Obs:
He does not conflict with the AmmuNatios and street machines, only Stunts Bonus (EnableStuntBonusForAll and EnableStuntBonusForPlayer)

Credits for DraKoN (Me)


Sorry my Bad English (English School,lol)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)