[HELP] Anti-Money Hack - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Anti-Money Hack (
/showthread.php?tid=255979)
[HELP] Anti-Money Hack -
V4at - 18.05.2011
I am using this anti-cheat:
https://sampforum.blast.hk/showthread.php?tid=71136
This anti-cheat takes away all the money you only get. How do I make that broken only by the money you get from the anti-cheat
Re : [HELP] Anti-Money Hack -
V4at - 18.05.2011
HELP ME!!!
Re: [HELP] Anti-Money Hack -
Jochemd - 18.05.2011
Just set the players money back to Cash[playerid] or whatever is used there.
Re : [HELP] Anti-Money Hack -
V4at - 18.05.2011
I do not understand, explain in more detail what needs to be done there
Re: [HELP] Anti-Money Hack -
Jochemd - 18.05.2011
pawn Код:
public MoneyTimer()
{
new username[MAX_PLAYER_NAME];
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(GetPlayerCash(i) != GetPlayerMoney(i))
{
ResetMoneyBar(i);//Resets the money in the original moneybar, Do not remove!
UpdateMoneyBar(i,GetPlayerCash(i));
new hack = GetPlayerMoney(i) - GetPlayerCash(i);
GetPlayerName(i,username,sizeof(username));
printf("%s has picked up/attempted to spawn $%d.", username,hack);
}
}
}
}
This should just work? Quoted without changing from that topic
Re : [HELP] Anti-Money Hack -
V4at - 18.05.2011
What needs to change here?
Re: [HELP] Anti-Money Hack -
xalith - 18.05.2011
just copy that code and place it in your script FFS
Re : [HELP] Anti-Money Hack -
V4at - 19.05.2011
So I have to upload it but the money still falls to zero
Re : [HELP] Anti-Money Hack -
V4at - 19.05.2011
All understand me all the money lost when logging in and spawn the money, to be made to disappear only to cheat money
Re : [HELP] Anti-Money Hack -
V4at - 19.05.2011
Help me!