SA-MP Forums Archive
[Ajuda] Algo Errado ? - 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] Algo Errado ? (/showthread.php?tid=433699)



Algo Errado ? - Wendell - 28.04.2013

Tem algo errado nessas cores que coloquei dentro do code ? ou irб aparecer normal ?
pawn Код:
format(gstring, sizeof(gstring), "HQ - Todas as unidades: Relato: {1621F0}%s",turner);
                    SendClientMessage(i, COLOR_RED, gstring);
                    format(gstring, sizeof(gstring), "HQ - Crime: %s, Suspeito: {1621F0}%s",reason,turned);
                    SendClientMessage(i, COLOR_RED, gstring);
                    if(GetPlayerInterior(playerid) == 0)
                    {
                        format(gstring, sizeof(gstring), "Local: %s, Em Interior: {1621F0}Nгo",location);
                        SendClientMessage(i, COLOR_RED, gstring);
                    }
                    else
                    {
                        format(gstring, sizeof(gstring), "Local: %s, Em Interior: {1621F0}Sim",location);
                        SendClientMessage(i, COLOR_RED, gstring);
                    }



Re: Algo Errado ? - AlucardSnow - 28.04.2013

As cores estгo certas.
Porque a pergunta?
Nгo era melhor testar antes de vir perguntar?

@Edit
Vocк precisa definir o COLOR_RED.
PHP код:
 #define COLOR_RED 0xFF0000FF