Error 21
#1

Quote:

./includes/functions.pwn(5987) : error 021: symbol already defined: "SyncPlayerTime"
./includes/functions.pwn(5994) : error 021: symbol already defined: "SyncMinTime"
./includes/functions.pwn(21694) : warning 209: function "OnIsEmailPending" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.





Where the area is

Quote:

}

#if defined zombiemode
forward SyncPlayerTime(playerid);
public SyncPlayerTime(playerid)
{
if(zombieevent == 0) SetPlayerTime(playerid, hour, minuite);
else SetPlayerTime(playerid, 0, 0);
return 1;
}

forward SyncMinTime();
public SyncMinTime()
{
foreach(Player, i)
{
if(GetPlayerVirtualWorld(i) == 133769)
{
SetPlayerWeather(i, 45);
SetPlayerTime(i, 0, 0);
}
else
{
if(zombieevent == 0) SetPlayerTime(i, hour, minuite);
else SetPlayerTime(i, 0, 0);
}
}
return 1;
}
#endif
forward SyncPlayerTime(playerid);
public SyncPlayerTime(playerid)
{
SetPlayerTime(playerid, hour, minuite);
return 1;
}

forward SyncMinTime();
public SyncMinTime()
{
foreach(new i: Player)
{
if(GetPlayerVirtualWorld(i) == 133769)
{
SetPlayerWeather(i, 45);
SetPlayerTime(i, 0, 0);
}
else
{
SetPlayerTime(i, hour, minuite);
}
}
return 1;
}

Reply
#2

Delete those public once

cuz it meant what it said

"it already define!!!!"
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)