SA-MP Forums Archive
Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question (/showthread.php?tid=665436)



Question - SeeNN - 04.04.2019

Know someone what is the problem here?

HTML Code:
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);



Re: Question - Logic_ - 04.04.2019

No? Can you tell us the problem here?


Re: Question - CONTROLA - 04.04.2019

You use both this:

pawn Code:
foreach(new i : Player)
and this:

pawn Code:
if(i != Player)



Re: Question - antixgaming - 04.04.2019

Does compiler compile that line?