pawn Код:
public MoneyCheck()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(GetPlayerMoney(i) > 100000)
{
new pName[MAX_PLAYER_NAME];
new string[256];
GetPlayerName(i,pName,sizeof(pName));
ResetPlayerMoney(i);
SetPlayerHealth(i,0);
format(string,sizeof(string),"[SERVER]: %s has been killed for Money Hack",pName);
SendClientMessageToAll(COLOR_WHITE,string);
return 1;
}
}
return 0;
}
Oh my god? Are you serious! You made me laugh out loud.