17.02.2015, 10:47
Hi guys,
I'm having an issue with the following array:
if I use this I get tons of warnings (as if a bracket } was missing)
all these lines are referring to a completely other part of the script...
I've searched for missing brackets, but there are none. If I comment the line I've posted out, it works fine (except of the errors for that variable not to be defined obv.)
what have I done wrong with that array?
PS: the line above and below:
I'm having an issue with the following array:
pawn Code:
new PlayerIn[5][3];
Code:
(6571) : warning 219: local variable "string" shadows a variable at a preceding level (6602) : warning 219: local variable "string" shadows a variable at a preceding level (6616) : error 021: symbol already defined: "string" (6751) : warning 219: local variable "string" shadows a variable at a preceding level (6864) : warning 219: local variable "string" shadows a variable at a preceding level (6894) : warning 219: local variable "string" shadows a variable at a preceding level (6908) : warning 219: local variable "string" shadows a variable at a preceding level (7054) : warning 219: local variable "string" shadows a variable at a preceding level (7079) : warning 219: local variable "string" shadows a variable at a preceding level (7239) : warning 219: local variable "string" shadows a variable at a preceding level (7257) : warning 219: local variable "string" shadows a variable at a preceding level (7275) : warning 219: local variable "string" shadows a variable at a preceding level (7293) : warning 219: local variable "string" shadows a variable at a preceding level (7311) : warning 219: local variable "string" shadows a variable at a preceding level 7341) : warning 219: local variable "string" shadows a variable at a preceding level (7452) : warning 219: local variable "string" shadows a variable at a preceding level (7476) : warning 219: local variable "string" shadows a variable at a preceding level 1 Error.
I've searched for missing brackets, but there are none. If I comment the line I've posted out, it works fine (except of the errors for that variable not to be defined obv.)
what have I done wrong with that array?
PS: the line above and below:
pawn Code:
new counts = 0;
new PlayerIn[5][3];
new tmp[400];