Help fix Warnings 219
#1

Warning:
pawn Код:
warning 219: local variable "pAngle" shadows a variable at a preceding level
Code (Line):

pawn Код:
static
Float: camVect_Z,
Float: mapPos_Z,
Float: pAngle, // WARNING LINE
Float: camPos[3],
Float: tmpPos[4]
;
This is the line when I use pAngle (If it is needed)
pawn Код:
GetPlayerFacingAngle(playerid, pAngle);
Thanks in advance, I will +Rep whoever helps me =)
Reply
#2

If im not wrong, that means that you are defined a variable already defined.
And is not an error, is a warning, you can run the script with that warn,
Reply
#3

Ah, I fucking forgot, I used it on my vehicle system, thanks mate
(Repped)
Reply
#4

Quote:
Originally Posted by Infinity90
Посмотреть сообщение
Ah, I fucking forgot, I used it on my vehicle system, thanks mate
(Repped)
Thank You I'm Just Here To Help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)