warning 219: local variable "i" shadows a variable at a preceding level
#4

Quote:
Originally Posted by Konstantinos
View Post
"i" has been declared above. Simple, re-name "i" to some other name (such as "p") and also change the syntax to the newer one:
pawn Code:
foreach(new p : Player)
yes thanks man SLOVED.
Reply


Messages In This Thread
warning 219: local variable "i" shadows a variable at a preceding level - by Slawiii - 13.04.2016, 18:36
Re: warning 219: local variable "i" shadows a variable at a preceding level - by sampkinq - 13.04.2016, 18:58
Re: warning 219: local variable "i" shadows a variable at a preceding level - by Konstantinos - 13.04.2016, 19:01
Re: warning 219: local variable "i" shadows a variable at a preceding level - by Slawiii - 13.04.2016, 19:06

Forum Jump:


Users browsing this thread: 1 Guest(s)