Error code
#1

I get this error code on line 5692.

(5692) : error 026: no matching "#if..."

pawn Код:
public Spawn(playerid)
{
new PLName[24];
GetPlayerName(playerid, PLName, 24);
{
if(!strcmp(PLName, "Copolice", true))
    {
        SendClientMessageToAll(COLOR_PINK, "The server owner has joined!");
        SpawnPlayer(playerid);
        return 1;
    }
    else
    if(!strcmp(PLName, "CaptainJohn", true))
    {
        SendClientMessageToAll(COLOR_LIGHTBLUE, "CaptainJohn the SAM server scripter has joined.");
        SpawnPlayer(playerid);
        return 1;
    }
return 0;
}
}
#endif
The error is this

pawn Код:
#endif
How do I fix?
Reply
#2

Remove the line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)