24.02.2011, 07:29
I get this error code on line 5692.
(5692) : error 026: no matching "#if..."
The error is this
How do I fix?
(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
pawn Код:
#endif