Warnings - 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: Warnings (
/showthread.php?tid=274531)
Warnings -
-CaRRoT - 06.08.2011
What that mean ?
pawn Код:
E:\GTA SanAndreas\SAMP Server Related\X-Zone RPG\gamemodes\xzrpg.pwn(12178) : warning 219: local variable "panels" shadows a variable at a preceding level
E:\GTA SanAndreas\SAMP Server Related\X-Zone RPG\gamemodes\xzrpg.pwn(12178) : warning 219: local variable "doors" shadows a variable at a preceding level
E:\GTA SanAndreas\SAMP Server Related\X-Zone RPG\gamemodes\xzrpg.pwn(12178) : warning 219: local variable "lights" shadows a variable at a preceding level
E:\GTA SanAndreas\SAMP Server Related\X-Zone RPG\gamemodes\xzrpg.pwn(12178) : warning 219: local variable "tires" shadows a variable at a preceding level
Here is the Code :
pawn Код:
new panels, doors, lights, tires;
Re: Warnings -
Sascha - 06.08.2011
those warnings mean that the variables (panels, doors, lights, tires) were already defined before..
So you can remove the line "new panels, doors, lights, tires;"
Re: Warnings -
-CaRRoT - 06.08.2011
Thanks
, Fixed (Gave Reputition
)
Re: Warnings -
Sascha - 06.08.2011
thanks
Re: Warnings -
Akcent_Voltaj - 16.08.2012
i have just like him and if i erase the panel thingy i get undefined tires..