(2014)\gamemodes\PHRP_V1.2.pwn(13776) : warning 219: local variable "Z" shadows a variable at a preceding level
#1

How do i fix that?

Код:
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13723) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13723) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13723) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13746) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13746) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13746) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13755) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13755) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13755) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13767) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13767) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13767) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13776) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13776) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13776) : warning 219: local variable "Z" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


15 Warnings.
Код:
Line 2014: BLANK. Theres nothing at Line 2014 but here the lines below 2014
Код:
enum eCars
{
	model_id,
	Float:pos_x,
	Float:pos_y,
	Float:pos_z,
	Float:z_angle,
};
Код:
LINE ABOVE THE 2014
'
Код:
enum pSpec
{
	Float:Coords[3],
	Float:sPx,
	Float:sPy,
	Float:sPz,
	sVW,
	sPint,
	sLocal,
	sCam,
};
Reply
#2

it means variables X, Y and Z are already defined somewhere
Reply
#3

You are looking at the wrong line to fix the error

Код:
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014)\gamemodes\PHRP_V1.2.pwn(13723)
2014 is a part of the name of your server folder "Philippines Roleplay (2014)" and the error is at line 13723
Reply
#4

Just go to that line and delete that whole line.
Reply
#5

The lines are not 2014 lol its line (13723) just go to the lines and delete it
the error is simply saying that the line has been already defined or posted somewhere in the .pwn so plz delete it

Plz rep if i helped u
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)