Quote:
Originally Posted by tour15
pawn Код:
new RealMoney[500]; //at the top of the script
forward GivePlayerRealMoney(playerid, ammount);// somewhere in the script public GivePlayerRealMoney(playerid, ammount) { RealMoney[playerid] += ammount; GivePlayerMoney(playerid, ammount); return 1; }
if(GetPlayerMoney(playerid) > RealMoney[playerid] ) { SendClientMessage(playerid, color, " Hacks Detected " ); } // Under OnPlayerUpdate
Replace every GivePlayerMoney with GivePlayerRealMoney in your gamemode and you got a quick anti money hack
|
So if someone hacks money he will get banned. Right?