SA-MP Forums Archive
[Ajuda] warning 225: unreachable code - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] warning 225: unreachable code (/showthread.php?tid=490535)



warning 225: unreachable code - DownGrade - 27.01.2014

pawn Код:
}
    if(GetHouseID(playerid) != -255) GetHouseStats(playerid, GetHouseID(playerid));
    {
        return 0;
    }
    if(pickupid == entraralhambra) //LINHA 10621
    {
        ShowPlayerDialog(playerid, 5123, DIALOG_STYLE_MSGBOX, "Alhambra", "Seja bem vindo(a) ao alhambra!\nDeseja entrar? O custo й de R$50", "Entrar", "Cancelar");
    }
pawn Код:
C:\Users\SSSS\Desktop\Editando PV\PNRPG.pwn(10621) : warning 225: unreachable code



Re: warning 225: unreachable code - Gii - 27.01.2014

pawn Код:
if(GetHouseID(playerid) != -255) GetHouseStats(playerid, GetHouseID(playerid));
{
    return 0;
}
Nгo seria:

pawn Код:
if(GetHouseID(playerid) != -255)
{
    return 0;
}
?


Re: warning 225: unreachable code - DownGrade - 27.01.2014

Mas e o
pawn Код:
GetHouseStats(playerid, GetHouseID(playerid));