invalid subscript (not an array or too many subscripts):
#3

Quote:
Originally Posted by evan69
Посмотреть сообщение
Show me the part where you declared the array "sEnterID". Probably it seems you haven't declared the array properly.

You need to declare array using this syntax:
Код:
new array_name[SIZE];
enum senters
{
sEnterID,
FloatEnter_x,
FloatEnter_y,
FloatEnter_z,
FloatExit_x,
FloatExit_Y,
FloatExit_z,
Int,
Int2,
Wirt,
Wirt2,
Name[126]
}

#define MAX_SENTERS 100

new sEnter[ MAX_SENTERS ][ senters ];
Reply


Messages In This Thread
invalid subscript (not an array or too many subscripts): - by Erno. - 22.07.2016, 17:21
Re: invalid subscript (not an array or too many subscripts): - by evan69 - 22.07.2016, 17:40
Re: invalid subscript (not an array or too many subscripts): - by Erno. - 22.07.2016, 17:54
Re: invalid subscript (not an array or too many subscripts): - by Stinged - 22.07.2016, 18:05
Re: invalid subscript (not an array or too many subscripts): - by Flake. - 22.07.2016, 18:06
Re: invalid subscript (not an array or too many subscripts): - by Erno. - 22.07.2016, 18:07

Forum Jump:


Users browsing this thread: 4 Guest(s)