Errors. Help me please.
#2

It'd be helpful if you could mention the line so users won't search for it.

Anyways, you cannot add size to an array with a not constant. rows is a variable; hence:
pawn Код:
new top[rows][24], score[rows][6]
will give the errors. Since you know that you want a TOP 5, change to:
pawn Код:
new top[5][24], score[5][6];
PS: size 5 makes 0-4 as valid bounds. Keep that in mind!
Reply


Messages In This Thread
Errors. Help me please. - by Mriss - 06.04.2014, 10:08
Re: Errors. Help me please. - by Konstantinos - 06.04.2014, 10:12
Re: Errors. Help me please. - by Mriss - 06.04.2014, 10:41

Forum Jump:


Users browsing this thread: 2 Guest(s)