Error, please look
#1

Код:
J:\\.pwn(1382) : warning 219: local variable "i" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Line 1382:
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
Код:
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		TextDrawShowForPlayer(i, Text:Clock[i]);
	}
Reply
#2

ITs only a warning...

change the try this:

for(new i = 0; i < MAX_PLAYERS; i++)
{
TextDrawShowForPlayer(playerid, Text:Clock[i]);
}
Reply
#3

Warning is like error for me I like when my gamemode is clear , no errors/warnings.
But like I see, you didnt change the code ?
Reply
#4

Anyways, fixed it.
Reply
#5

ofcourse i changed the code, i replaced the "i" with "playerid".
But you fixxed it already, good
Reply
#6

Oh I see
Yea , thanks anyways.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)