Help for warnings..
#1

C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(7777) : warning 219: local variable "ip" shadows a variable at a preceding level
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(998 : warning 219: local variable "ip" shadows a variable at a preceding level
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(11044) : warning 219: local variable "pname" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.

----------------------------------------------------------------------------------------------------------------

How to fix ?
Reply
#2

probably you have one stock,public...that uses this names.
Reply
#3

But it shouldn't harm your script in any way? I usually just leave the warnings to come, or just delete the lines/part of code where does the warning go.
Reply
#4

Well if you have no warning it would be good because your script will look good, for the first 2 warning you will see
pawn Код:
new ip
on that line so you remove those lines and for the last one you will see
pawn Код:
new pname;
so remove that line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)