Warning!
#1

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
Code:
new pName[54];
7008
Code:
new pName[41];
10063
Code:
new Y[ 3 ];
I tried to delete and gives me errors
help me with these Warnings do not know how to get rid
Reply
#2

pName is defined two times
use it this way
pawn Code:
new pName[54];
new pName2[54];
new Y2[3];
Reply
#3

Thank Kitten very much I have put pName2 solved Warnings and Y2 pName3
Reply
#4

And to be more efficient

pawn Code:
new pName[2][54];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)