[FilterScript] Anti Money Hack -GMADDON
#1



Introduction
It is an Anti-Money Hack very efficient and simple does not require great knowledge to put it

Using

OBS: It Version is Using Array

[b]In Final GameMode Add/b]:



pawn Code:
// OnGameModeInit -//

SetTimer("CheckGrana",1500,true);

//- Final GameMode -//

stock GivePlayerCash(playerid,Contia)
{
    GivePlayerMoney(playerid,Contia);
    SetPVarInt(playerid,"grana",Contia);
    SetPVarInt(playerid,"AntiMH",10);
    return true;
}

forward CheckGrana();
public CheckGrana()
{
    for(new i = 0;i < MAX_PLAYERS;i++)
    {
        if(GetPVarInt(i,"AntiMH") == 10)
        {
            SetPVarInt(i ,"AntiMH",0);
            return 0;
        }
        if(GetPlayerMoney(i) < GetPVarInt(i,"grana"))
        {
            SetPVarInt(i,"grana",GetPlayerMoney(i));
        }
        if(GetPlayerMoney(i) > GetPVarInt(i,"grana"))  
        {
            ResetPlayerMoney(i);
            GivePlayerMoney(i,GetPVarInt(i,"grana"));
        }
    }
    return true;
}

The End
Reply
#2

nice work, i get "the error unknown symbol slots also where do i put it?
Reply
#3

Top of GameMode:

#define SLOTS NUMBER_OF_SLOTS

Sorry, i uped Topic...
Reply
#4

Nice Script
7.5/10
Reply
#5

Hmmm, when you define a macro, put the "%Number" into (), example:
pawn Code:
#define HELLO_WORLD(%1) SendClientMessage((%1), 0xFFFFFFFF, "Hello!")
Reply
#6

Quote:

#define OnGameModeInit SetTimer("AntiMH",1000,true);

R u serious?
Reply
#7

tryd this and this deleted all players money lol and tehir money too who wasnt hackers.
Reply
#8

Nice FS, Seems to work.
Reply
#9

not Work? here work..

pawn Code:
public OnGameModeInit()
{
    SetTimer("AntiMH",TIMER_MH,true);
    return true;
}
#define LoopPlayers(%0,%1) for(new %0 = 0; %0 < %1;++ %0) if(IsPlayerConnected(%0) && !IsPlayerNPC(%0))
#define TIMER_MH 1500 //- [Milisegundos]-//
#define SLOTS 43 //- Nъmber of Slots -//
forward AntiMH();
public AntiMH()
{
    LoopPlayers(i,SLOTS)
    {
        if(Money[i] < GetPlayerMoney(i))
        {
                 GivePlayerMoneyEx(i,Money[i]);
        }
    }
    return true;
}
stock GivePlayerMoneyEx(playerid,contia)
{
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid,contia);
    return Money[playerid]+=contia;
}
Change GivePlayerMoney for GivePlayerMoneyEx in GM
Reply
#10

uhh okai
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)