SA-MP Forums Archive
Iterator - 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: Iterator (/showthread.php?tid=654634)



Iterator - DarkMythHunter - 02.06.2018

Код:
Utils/PlayerFunctions.pwn(825) : error 017: undefined symbol "Iter_Single@RP"
Utils/PlayerFunctions.pwn(825) : error 017: undefined symbol "Iterator@RP"
Utils/PlayerFunctions.pwn(825) : warning 217: loose indentation
Utils/PlayerFunctions.pwn(825) : error 029: invalid expression, assumed zero
Utils/PlayerFunctions.pwn(825) : fatal error 107: too many error messages on one line
This is the line:

Код:
 		Iter_Remove(RP, playerid);



Re: Iterator - SyS - 02.06.2018

you didn't define that iterator
PHP код:
new Iterator:RP<MAX_SIZE_HERE>; 



Re: Iterator - DarkMythHunter - 03.06.2018

Quote:
Originally Posted by SyS
Посмотреть сообщение
you didn't define that iterator
PHP код:
new Iterator:RP<MAX_SIZE_HERE>; 
Ha, I forgot that. it was "new Iterator:Helper<MAX_PLAYER something>, forgot to change it to RP.


Works thanks a lot.