local variable "time" shadows a variable at a preceding level - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: local variable "time" shadows a variable at a preceding level (
/showthread.php?tid=560965)
local variable "time" shadows a variable at a preceding level -
PowerF - 31.01.2015
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)
{
Re: local variable "time" shadows a variable at a preceding level -
CalvinC - 31.01.2015
It's comming from the includes, not your gamemode, look at the destinations the errors are comming from.