Anti-Hack
#1

Hey guys I was looking for a Anti-MONEY hack a effective and simple one for 0.3e. I found some anti-money hack but it's outdated, and some are patched by new s0b3!t (You know what I mean) Also If I do stunts bonus the money must be counted and in reaction test and killing.

I add this on my server
https://sampforum.blast.hk/showthread.php?tid=71136

But after I do stunts bonuses it resets so zero.

And lastly let's say if my money is 3000 then I used a money cheat it should return to 3000. after 2 seconds.
Reply
#2

you need to allow it for the script option GivePlayerMoney(playerid, ammount);
dont ask me how to do it cuz i dont even know but i hope this helped
Reply
#3

I tried this code

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;
    /*
   //ban
    */

    }
    return 1;
}
But do you think it will reset my money to original? Like I said

"And lastly let's say if my money is 3000 then I used a money cheat it should return to 3000"
Reply
#4

instead of just copy it, study it, and understand it to make your own. this is the best way to learn, not copying.

Months and months you still haven't learned nothing, time is now to make your own stuff.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)