[Solved] Shadows variable at preceding level?
#1

Yo, I've recently made a fs and when i try to compile i get these errors, Can anyone explain to me whats wrong?

Код:
C:\Users\Administrator\Desktop\Server\filterscripts\idunno.pwn(261) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\Server\filterscripts\idunno.pwn(284) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\Server\filterscripts\idunno.pwn(301) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\Server\filterscripts\idunno.pwn(323) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\Server\filterscripts\idunno.pwn(346) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\Server\filterscripts\idunno.pwn(368) : warning 219: local variable "pName" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Reply
#2

You have defined the variable pName twice (or more).
Once global, and one or more times local .
Reply
#3

Thanks a lot You get a cookie
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)