PDA

View Full Version : local variable "time" shadows a variable at a preceding level


PowerF
31/01/2015, 02:03 PM
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 (c) 1997-2006, ITB CompuPhase


3 Warnings.

line 568 : 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)
{

CalvinC
31/01/2015, 02:10 PM
It's comming from the includes, not your gamemode, look at the destinations the errors are comming from.