05.11.2010, 12:56
And for this:
it means you have defined "Name" somewhere else in your script, i suggest keep all the variables at the top of your script.
And if you want to fix that just press ctrl+f and search for new Name[MAX_PLAYERS] and delete it, then put it at the top of your script, to avoid warning like this, i suggest keep all the variables at the top of your script.
Instead of making a new variable each time u need them, like "strings" which we use most, the best thing to do is define them at the top of your script,between the #includes and the #defines.
pawn Код:
warning 219: local variable "Name" shadows a variable at a preceding level
And if you want to fix that just press ctrl+f and search for new Name[MAX_PLAYERS] and delete it, then put it at the top of your script, to avoid warning like this, i suggest keep all the variables at the top of your script.
Instead of making a new variable each time u need them, like "strings" which we use most, the best thing to do is define them at the top of your script,between the #includes and the #defines.