How can I fix this warning?
#1

Hi,

I get alot of these warnings:
pawn Код:
warning 219: local variable "x" shadows a variable at a preceding level
How can I fix them? Thanks.
Reply
#2

Quote:
Originally Posted by robintjeh
Посмотреть сообщение
Hi,

I get alot of these warnings:
pawn Код:
warning 219: local variable "x" shadows a variable at a preceding level
How can I fix them? Thanks.
It means you have defined 'x' twice.
Change 'x' to 'x2' ect...
Or make it global.
Reply
#3

You probably have 2 same "new x;" in your script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)