#9

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);
}
And if there's just you, the message'll be sent just to one player (in this case: you)...
Reply


Messages In This Thread
Help - by Edw - 23.01.2015, 16:25
Re: Help - by Riso135 - 23.01.2015, 16:42
Re: Help - by Edw - 23.01.2015, 16:48
Re: Help - by GGW - 23.01.2015, 16:58
Re: Help - by Edw - 23.01.2015, 19:21
Re: Help - by Edw - 23.01.2015, 20:29
Re: Help - by Rodney Francalim - 23.01.2015, 20:40
Re: Help - by Edw - 23.01.2015, 21:05
Re: Help - by Rodney Francalim - 23.01.2015, 21:09

Forum Jump:


Users browsing this thread: 2 Guest(s)