Warning! - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Warning! (
/showthread.php?tid=270901)
Warning! -
!!--Ryder_RO--!! - 22.07.2011
Hello samp.com .. I also have some Warnings that do not know how to get rid
Code:
C:\DOCUME~1\Ionut\Desktop\GALAXY~1.3C\GAMEMO~1\RGS.pwn(5680) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\DOCUME~1\Ionut\Desktop\GALAXY~1.3C\GAMEMO~1\RGS.pwn(7008) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\DOCUME~1\Ionut\Desktop\GALAXY~1.3C\GAMEMO~1\RGS.pwn(10063) : warning 219: local variable "Y" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.
to give lines
5680
7008
10063
I tried to delete and gives me errors
help me with these Warnings do not know how to get rid
Re: Warning! -
Kitten - 22.07.2011
pName is defined two times
use it this way
pawn Code:
new pName[54];
new pName2[54];
new Y2[3];
Re: Warning! -
!!--Ryder_RO--!! - 22.07.2011
Thank Kitten very much I have put pName2 solved Warnings and Y2 pName3
Re: Warning! -
swieberdevos - 22.07.2011
And to be more efficient