Multidimensional iterators [y_iterate]
#1

I'm getting this error.

Код:
warning 203: symbol is never used: "Iter_Init@PlayerDuffID"
So I searched a bit and I found that MD iterators need to be initialized with Iter_Init. However whenever I do add in "Iter_Init" I get this.

Код:
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : warning 219: local variable "Iterator@PlayerDuffID" shadows a variable at a preceding level
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : error 025: function heading differs from prototype
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : error 021: symbol already defined: "Iter_Init_Internal"
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : warning 221: label name "_" shadows tag name
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : warning 203: symbol is never used: "_"
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : warning 203: symbol is never used: "Iterator@PlayerDuffID"
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : error 020: invalid symbol name "F@e"
E:\Rockstar Games\dufflebag\gamemodes\/inc/core.inc(104) : fatal error 107: too many error messages on one line
The line itself

Код:
static Iterator:PlayerDuffID[MAX_PLAYERS]<1>;
Iter_Init(PlayerDuffID);
Any help would be appreciated.


e#

Nevermind. Fixed the issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)