23.01.2015, 21:09
pawn Код:
#define LogMessage(%0,%1,%2,%3) format(string, sizeof(string),%2,%3); SendClientMessage(%0, %1, string)
for(new i = 0, string[128]; i < MAX_PLAYERS; ++i)
{
if(PlayerInfo[i][pLanguage] == 1 && (5 <= PlayerInfo[i][pAdmin] <= 6)) return LogMessage(i, COLOR_LOG, "AdmCmd: %s a acceptat report-ul lui %s.", sendername, giveplayer);
else if(PlayerInfo[i][pLanguage] == 2 && (5 <= PlayerInfo[i][pAdmin] <= 6)) return LogMessage(i, COLOR_LOG, "AdmCmd: %s accepted report of %s.", sendername, giveplayer);
}