Utils.inc .........
#1


I can Compile script and it works but everytime im getting this annoying warn >.<

Код:
.....\pawno\include\utils.inc(256) : warning 219: local variable "playerid" shadows a variable at a preceding level
Line 256:

Код:
foreach (player,playerid)
Reply
#2

i think player overshadows playid just use playerid i think but to be sure i need more code
Reply
#3

the variable playerid was defined as a variable more than two times, search for it and remove it.

for instance. if you have new playerid;

and you have another new playerid;

this will be considered shadowing, because you have two of the same ones.

but for your problem, make sure you see the foreach code, and see how it is used.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)