[Projeto] Defines de Todas as cores!! - 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: [Projeto] Defines de Todas as cores!! (
/showthread.php?tid=500666)
Defines de Todas as cores!! -
mitsumyy - 14.03.2014
Boas eu trago-vos aqui toas as cores com o #define!!
Como funciona?
й simpres voce sу precisa de adicionar estas linhas #define ao topo do seu script (onde fica as outras #define) e pronto vocк jб pode fazer suas mensagens com cores sem ter de sempre ir ver a code!
Code:
Код:
#define COLOR_NICERED 0xFF0000FF
#define COLOR_LIGHT_BLUE 0xa9c4e4FF
#define COLOR_SEA 0x00808000
#define COLOR_BLUE 0x0042F6AA
#define COLOR_BLACK 0x000000FF
#define COLOR_DRED 0xA50000AA
#define COLOR_WHITE 0xF6F6F6AA
#define COLOR_YELLOW 0xF6F600AA
#define COLOR_GREEN 0x00B900AA
#define COLOR_LOCALMSG 0xEC5413AA
#define COLOR_ADMINCMD 0xF97804FF
#define COLOR_ADMINDUTY 0xFF000000
#define COLOR_GMDUTY 0xDAA52000
#define COLOR_NOTLOGGED 0x00000000
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_MONEYBAR 0x005800FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_RED 0xA10000AA
#define COLOR_DARKRED 0xCD000000
#define COLOR_ANTICHEAT 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTBLUE2 0x0080FFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_LIGHTORANGE 0xFF8000FF
#define COLOR_DARKBROWN 0xB36C42FF
#define COLOR_MEDIUMBLUE 0x1ED5C7FF
#define COLOR_LIGHTYELLOW 0xE0E377AA
#define COLOR_LIGHTYELLOW2 0xE0EA64AA
#define COLOR_LIGHTYELLOW3 0xFF6347AA
#define COLOR_DARKPURPLE 0x5F56F8AA
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_ALLDEPT 0xFF8282AA
#define COLOR_NEWS 0xFFA500AA
#define COLOR_OOC 0xE0FFFFAA
#define COLOR_NEWOOC 0x0080FFAA
Re: Defines de Todas as cores!! -
rjjj - 14.03.2014
Uma observaзгo й que no caso existem em torno de quatro bilhхes de cores, o que significa que seria muito difнcil realmente representar todas por
#define.
Contudo, й suficiente trabalhar apenas com as cores mais importantes na escala humana
.
Espero ter ajudado
.
Re: Defines de Todas as cores!! -
FaveladoBR - 14.03.2014
Isso nгo й bem um projeto.
Isso й um cуdigo ъtil, para ser um projeto, vocк deveria reunir os "Quatro Bilhхes de Cores"
Re: Defines de Todas as cores!! -
Cor3y - 14.03.2014
https://sampforum.blast.hk/showthread.php?tid=319606