local variable "time" shadows a variable at a preceding level
#1

i just test Zombie script but i get this when im recompile

Код:
D:\ZOMBIE APOCALYPSE\Windows Version [0.3z]\pawno\include\YSI\y_va/impl.inc(568) : warning 219: local variable "time" shadows a variable at a preceding level
D:\ZOMBIE APOCALYPSE\Windows Version [0.3z]\pawno\include\YSI\y_va/impl.inc(573) : warning 219: local variable "time" shadows a variable at a preceding level
D:\ZOMBIE APOCALYPSE\Windows Version [0.3z]\pawno\include\YSI\y_hooks/impl.inc(2624) : warning 219: local variable "time" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
line 568 :
pawn Код:
format(string,sizeof(string), ""chat""COL_LIGHTBLUE" %s made it to the water evacuation point and has received 1 coin!",PlayerName(playerid));
            SendClientMessageToAll(-1,string);
            SetPlayerColor(playerid,COLOR_YELLOW);
        }
line

line 573
Код:
			pInfo[playerid][pEvac]++;
line 2624 :
Код:
	if(PRESSED(KEY_WALK))
	{
	    if(team[playerid] == TEAM_ZOMBIE)
	    {
			if(pInfo[playerid][pZombieClass] == SCREAMERZOMBIE)
			{
Reply
#2

It's comming from the includes, not your gamemode, look at the destinations the errors are comming from.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)