06.03.2018, 18:43
What's the difference between foreach and for(new ?
foreach(new i : pInfo)
C:\Users\yan\Desktop\LS DM\gamemodes\DBv1.pwn(1211) : error 017: undefined symbol "Iterator@pInfo" C:\Users\yan\Desktop\LS DM\gamemodes\DBv1.pwn(1211) : warning 215: expression has no effect C:\Users\yan\Desktop\LS DM\gamemodes\DBv1.pwn(1211) : error 001: expected token: ";", but found ")" C:\Users\yan\Desktop\LS DM\gamemodes\DBv1.pwn(1211) : error 029: invalid expression, assumed zero C:\Users\yan\Desktop\LS DM\gamemodes\DBv1.pwn(1211) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
foreach(new i : Player)