Quote:
Originally Posted by Emmet_
pawn Код:
stock MoneyHack(playerid) { if(GetPlayerMoney(playerid) >= 5000000) //change it as you want this is the amount that if the player exceeded he gets banned its currently on '5 million' { Reason =3; return 1; } return 0; }
If an admin gives somebody $5m, everybody will get banned...
pawn Код:
stock AntiCheat(playerid) { if(Action_Taken == 1 && Reason >= 1) { Ban(playerid); return 1; } if(Action_Taken == 2 && Reason >= 1) { Kick(playerid); return 1; } return 0; }
|
How? its (playerid) and not its not looped to MAX_PLAYERS or something
EDIT: any ways i am working on a Filterscript that u can disable / enable the anti cheat options through it u may disable Money hack as well as long as u think it will ban every one