What does this mean?
#1

Код:
(4320) : warning 219: local variable "playername" shadows a variable at a preceding level
4320=
Код:
new playername[MAX_PLAYER_NAME];
What does It mean, and how do I fix it?
If I remove that line (or comment it out), the error disappear, but
I think the script needs that, doesn't it?
Reply
#2

its means its defined twice
Reply
#3

Just delete it.
Reply
#4

Don't delete it, it's probably used in your script. Just change the name of the variable and all releated things to it.
Reply
#5

Quote:
Originally Posted by Don Correlli
Don't delete it, it's probably used in your script. Just change the name of the variable and all releated things to it.
As you can see, he gets no errors or warnings and I doubt the script functionality will change:

Quote:
Originally Posted by mavtias
If I remove that line (or comment it out), the error disappear
Reply
#6

Yes, if he already has it defined then he should have no problems when deleting that one.
Reply
#7

i had this problem if some of your script stops working define it were it is need as a new
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)