21.04.2010, 02:47
Error: 747: Unreachable Code.
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(AccountInfo[playerid][Logged] == 0)
{
SendClientMessage(playerid, RED, "You must login or register to play!");
SendClientMessage(playerid, RED, "Login: /LOGIN [Password]***Register: /REGISTER [Password]");
return 0;
}
else
{
747 if(GetPlayerSkin(playerid) == 123)
{
if(AccountInfo[playerid][DrugLord] == 1)
{
return 1;
}
else
{
GameTextForPlayer(playerid, "You don't have permissions for this class!", 5000, 5);
return 0;
}
}
}
return 1;
}