[Ajuda] Warning - 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 (
/showthread.php?tid=375016)
Warning -
Nayara._. - 04.09.2012
A pedido do nosso joao eu tentei fundar o codigo mais fika dando um warning
pawn Код:
warning 225: unreachable code
Cуdigo
pawn Код:
new g_string[128];
new Text3D:VLabel3D[MAX_PLAYERS];
enum veiculospp
{
Nome[20]
}
new Veiculopp[MAX_VEHICLES][veiculospp];
format(g_string, sizeof(g_string), "Veiculo de %s [ %d ]", PlayerName(playerid), playerid);
VLabel3D[playerid] = Create3DTextLabel(g_string, 0x00FF00AA, 0.0, 0.0, 0.0, 40.0, 0, 1);
Attach3DTextLabelToVehicle(VLabel3D[playerid], CarroJogador[ playerid ], 0.0, -2.5, 0.5);
format(Veiculopp[CarroJogador[playerid]][Nome], 20, PlayerName(playerid));
return 1;
Re: Warning -
Douglas_prt - 04.09.2012
pawn Код:
new g_string[128];
new Text3D:VLabel3D[MAX_PLAYERS];
enum veiculospp
{
Nome[20]
};
new Veiculopp[MAX_VEHICLES][veiculospp];
format(g_string, sizeof(g_string), "Veiculo de %s [ %d ]", PlayerName(playerid), playerid);
VLabel3D[playerid] = Create3DTextLabel(g_string, 0x00FF00AA, 0.0, 0.0, 0.0, 40.0, 0, 1);
Attach3DTextLabelToVehicle(VLabel3D[playerid], CarroJogador[ playerid ], 0.0, -2.5, 0.5);
format(Veiculopp[CarroJogador[playerid]][Nome], 20, PlayerName(playerid));
return 1;
Re: Warning -
Delay - 04.09.2012
This forum requires that you wait 120 seconds between posts. Please try again in 32 seconds.
pawn Код:
enum veiculospp
{
Nome[20]
};
Re: Warning -
Nayara._. - 04.09.2012
O warning insiste
Re: Warning -
Delay - 04.09.2012
algo impedindo a leitura do cуdigo, ve certin ae sepб o Return ..
Re: Warning -
Nayara._. - 04.09.2012
o warn insiste
Re: Warning -
Douglas_prt - 04.09.2012
Quote:
Originally Posted by Nayara._.
O warning insiste
|
Manda o cуdigo completo... e a posiзгo dele no GM