PDA

View Full Version : Question


SeeNN
04/04/2019, 01:51 AM
Know someone what is the problem here?

foreach(new i: Player) if(CosminInfo[i][ReportedBy] != -1 && i != Player) format(eString, sizeof(eString), "\n#{E4EDF4}%d {FF8000}%s {E4EDF4}reported {F81414}%s {E4EDF4}: %s", ReportStr, i, PlayerName(CosminInfo[i][ReportedBy]), PlayerName(i), Reason);

Logic_
04/04/2019, 06:23 AM
No? Can you tell us the problem here?

CONTROLA
04/04/2019, 08:05 AM
You use both this:

foreach(new i : Player)

and this:

if(i != Player)

antixgaming
04/04/2019, 11:01 AM
Does compiler compile that line?