error 008: must be a constant expression; assumed zero
#3

You cannot initialize a variable with another variable, unless the variable your trying to use is declared a constant, because the compiler does not know the value of a variable at compile time. So the culprit is this:
pawn Код:
new barrierturn[5];
Because it is not a constant.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)