local variable "b1" shadows a variable at a preceding level - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: local variable "b1" shadows a variable at a preceding level (
/showthread.php?tid=373564)
local variable "b1" shadows a variable at a preceding level -
_Khaled_ - 30.08.2012
Hello
I'm using this balloon system by Xtremer
http://pastebin.com/VhGTY6UA
and I get these errors..
Код:
D:\SAMP\Server\SACNC [0.3e R2]\pawno\include\YSI\y_amx.inc(125) : warning 219: local variable "b1" shadows a variable at a preceding level
D:\SAMP\Server\SACNC [0.3e R2]\pawno\include\YSI\y_amx.inc(125) : warning 219: local variable "b2" shadows a variable at a preceding level
D:\SAMP\Server\SACNC [0.3e R2]\pawno\include\YSI\y_amx.inc(125) : warning 219: local variable "b3" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.
Re: local variable "b1" shadows a variable at a preceding level -
CoDeZ - 30.08.2012
Well it says on line 125 and at the link u gave i can't find that line
anyways remove 125 line since you already added variables on the top of the script
EDIT: and btw they are just warnings you can ignore them and compile fine without any errors
Re: local variable "b1" shadows a variable at a preceding level -
_Khaled_ - 30.08.2012
Nevermind, I already fixed it, b1 was defined in something in YSI, so i just changed definitions into something else.. and it's working fine, thanks