Array Must Be Indexed
#1

Okay, this is the first time ever I am asking about help. But, it's because I was sitting very very very long and thought about this, but didn't find any solution. So, well... Here's my code:

pawn Код:
new text;
text = strval(params);
if(text == "red")
And the error is:

Quote:
Originally Posted by Pawno
error 033: array must be indexed (variable "-unknown-")
And "unknown" is "red". What do I have to do?
Reply


Messages In This Thread
Array Must Be Indexed - by refshal - 17.07.2009, 21:39
Re: Array Must Be Indexed - by Jefff - 17.07.2009, 22:08
Re: Array Must Be Indexed - by M4S7ERMIND - 17.07.2009, 22:14
Re: Array Must Be Indexed - by refshal - 17.07.2009, 22:22
Re: Array Must Be Indexed - by Jefff - 17.07.2009, 22:30
Re: Array Must Be Indexed - by refshal - 17.07.2009, 22:33
Re: Array Must Be Indexed - by M4S7ERMIND - 17.07.2009, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)