26.07.2015, 11:37
I got three dimensional array, where I would like to store spawn information of each team.
In example:
However, when I try to get a random item of a team spawn with
, it gives me the following error:
How to fix this?
In example:
pawn Код:
new const Float:Array[][][] = {{{// X, Y, Z, A}}};
pawn Код:
new rand = random(sizeof(Array[team]));
Quote:
: error 001: expected token: "]", but found "-identifier-" : warning 215: expression has no effect : error 001: expected token: ";", but found "]" : error 029: invalid expression, assumed zero : fatal error 107: too many error messages on one line |