30.08.2011, 12:38
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 " ); Ban(playerid); } // Under OnPlayerUpdate
I made it for you