07.03.2012, 12:41
Can anyone help me with these following issues pls?
Line 713 :
If anyone can help me id give rep
pawn Code:
C:\Documents and Settings\Andrea\Desktop\SD CNR\filterscripts\LuxAdmin.pwn(362) : warning 235: public function lacks forward declaration (symbol "AfterPlayerConnect")
C:\Documents and Settings\Andrea\Desktop\SD CNR\filterscripts\LuxAdmin.pwn(370) : warning 235: public function lacks forward declaration (symbol "OnGetPlayerKeys")
C:\Documents and Settings\Andrea\Desktop\SD CNR\filterscripts\LuxAdmin.pwn(713) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
Line 713 :
pawn Code:
if(ServerInfo[ConnectMessages] == 1)
{
new pAKA[256];
pAKA = dini_Get("LuxAdmin/Config/aka.txt",tmp3);
if (strlen(pAKA) < 3)
format(str,sizeof(str),"* Player %s (Id:%d) has joined the server", PlayerName,playerid);
else if (!strcmp(pAKA,PlayerName,true))
format(str,sizeof(str),"* Player %s (Id:%d) has joined the server", PlayerName,playerid);
else format(str,sizeof(str),"Player %s (Id:%d) has joined the server (Aka: %s)",PlayerName,playerid,pAKA);
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i) && playerid != i)
{
if(AccInfo[i][Level] > 2)
SendClientMessage(i,grey,str);
else
{
format(string,sizeof(string),"* Player %s (Id:%d) has joined the server", PlayerName, playerid);
SendClientMessage(i,grey,string);
}
}
}
If anyone can help me id give rep