[Include] Simple,Fast Anti-Money Hack with FilterScript support
#1

Anti-Money Hack v1.1

Overview:

Hello, i was bored today, and all those lame anti-money hacks make me sick, so i decided to create one.
This one is made as simple as it could be, thus making it fast and accurate.
However, it doesn't support stunt bonuses, wins at a casino or any other money you can get client side.
Also, it haves filterscript support.


Instructions:

1.Download the package.
2.Unrar the files to /pawn/includes/
3.Include <moneyhax> to your gamemode(after #include <a_samp> and <foreach> if you use it).
4.Inlcude <moneyhax_FS> to all of your filterscripts, that use money functions.




Credits:

wups.



Download:

And finaly, the download link:
HERE

Mirrors are always accepted.



Last thing:

You are free to use this script however you want. Also you can remove the credits if that makes you feel better.
Suggestions are appreciated.

Reply
#2

Its pretty cool, and it works ...good job
Reply
#3

loooks coooool
Reply
#4

I'm sorry, but this is kind of pointless. There are MANY of them, released and working. I don't see why you had to go make another one.

This forum requires that you wait 120 seconds between posts. Please try again in 29 seconds. -- One day... I'm going to literally hack your ass off this forum!
Reply
#5

Show me a good one please.
Reply
#6

So, if i play casino, i didnt get banned?!
Reply
#7

Quote:
Originally Posted by RealCop228
View Post
This forum requires that you wait 120 seconds between posts. Please try again in 29 seconds. -- One day... I'm going to literally hack your ass off this forum!
Me too man, me too :S
Reply
#8

No, you just won't win any money. It will show you that you win, but will take it later.
Reply
#9

I don`t work! I hack money but don`t remove!
Reply
#10

it doesn't remove momentaly(after 30secs by default), but you can't buy anything serverside with hacked money
Reply
#11

The whole point of "server side money" is so even if you hack money, it won't work.
Reply
#12

Maan, 30 seconds is damn long. Cheater could spawn some money and buy ie house before it takes his money. If i'll change it to 1sec, it will lag my server?
Reply
#13

Quote:
Originally Posted by sekol
Посмотреть сообщение
Maan, 30 seconds is damn long. Cheater could spawn some money and buy ie house before it takes his money. If i'll change it to 1sec, it will lag my server?
Thats the point of server side money. Even if he makes money, he couldn't buy anything with it.
The timer could be 30sec or 5 mins.. whatever.
It wouldn't lag your server, but i wouldn't suggest doing that, because it is pointless.
Reply
#14

Quote:
Originally Posted by sekol
Посмотреть сообщение
Maan, 30 seconds is damn long. Cheater could spawn some money and buy ie house before it takes his money. If i'll change it to 1sec, it will lag my server?
On my server, I have set it inside the speedometer.
Creating a new timer for every player just to update his money is a bit pointless

This speedometer timer runs every 500ms.
When you hack money, you only see it for maximum 500ms, then the money on client side is resetted to the money at server side again, making the hack pointless.

Just create a timer that runs every 500ms:
pawn Код:
new Money[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    SetTimerEx("MoneyTimer", 500, true, "i", playerid);

    return 1;
}

forward MoneyTimer(playerid);
public MoneyTimer(playerid)
{
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid, Money[playerid]);
}
Whenever you want to give the player some money, add that value to the value in the Money array:
pawn Код:
Money[playerid] = Money[playerid] + payment;
Even when setting the speedometer to update every 500ms, it doesn't lag.
It's only 2 instructions after all (ResetPlayerMoney and GivePlayerMoney) that are executed every 500ms.
Reply
#15

Quote:
Originally Posted by wups
Посмотреть сообщение
Thats the point of server side money. Even if he makes money, he couldn't buy anything with it.
The timer could be 30sec or 5 mins.. whatever.
It wouldn't lag your server, but i wouldn't suggest doing that, because it is pointless.
But he could tune his vehicle for free at modding garages.
Unless you make custom modding garages that use server-sided money to buy them.
Reply
#16

Quote:
Originally Posted by PowerPC603
Посмотреть сообщение
But he could tune his vehicle for free at modding garages.
Unless you make custom modding garages that use server-sided money to buy them.
No. If you have less money client side, than you had server side, your server side money is set to client side money.
Reply
#17

Only problem with this is that if you include it in your GM, then your OnPlayerConnect doesnt work.
Reply
#18

Quote:
Originally Posted by Shetch
Посмотреть сообщение
Only problem with this is that if you include it in your GM, then your OnPlayerConnect doesnt work.
Thanks, I made some hooking mistakes. Now everything should work!
Reply
#19

nice
Reply
#20

That doesnt work so good because when you give money to a player twice, the second GivePlayerMoney doesnt work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)