foreach and loop?
#3

alright, another question

when I use this

Код:
foreach(new i : pInfo)
I get these errors
Код:
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.
But when I replace "pInfo" with Player it compiles ?
Reply


Messages In This Thread
foreach and loop? - by ivndosos - 06.03.2018, 18:43
Re: foreach and loop? - by RxErT - 06.03.2018, 18:45
Re: foreach and loop? - by ivndosos - 06.03.2018, 18:48
Re: foreach and loop? - by AroseKhanNiazi - 06.03.2018, 18:49
Re: foreach and loop? - by v1k1nG - 07.03.2018, 01:09

Forum Jump:


Users browsing this thread: 1 Guest(s)