21.02.2014, 07:06
Hi alls.I Use Anty Money Hack And Player Connect To Server Set Player Money To Zero (0)
How To Fix It? This Is Anti Money hack Timer:
How To Fix It? This Is Anti Money hack Timer:
Код:
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));//Sets the money in the moneybar to the serverside cash, Do not remove! new hack = GetPlayerMoney(i) - GetPlayerCash(i); GetPlayerName(i,username,sizeof(username)); printf("%s has picked up/attempted to spawn $%d.", username,hack); } } } }