Iterator Help..
#1

hello, i have this:
Code:
new Iterator: Logs<MAX_LOGS>;
but still why do i get this error:
Code:
C:\Users\user\Desktop\FS.pwn(569) : error 017: undefined symbol "Logs"
Line 569 is:
Code:
if(!Iter_Count(Logs, id)) return 1;
please help..
Reply
#2

Iter_Count contains 1 parameter.
PHP Code:
if(!Iter_Count(Logs)) return 1
But you probably want to use Iter_Contains :
PHP Code:
if(!Iter_Contains(Logsid)) return 1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)