Boja slova

Započeo 100lar, Novembar 20, 2009, 15:37:01 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Da li je moguće promijeniti boju slova Welcom poruke koja se pojavljuje kad player uÄ'e u igru koja su crvene boje i općenito svih poruka koje se pojavljuju nakon ispisivanja naredbi tipa /help i sličnih.ZaÅ¡to bih to mijenjao?Zato jer nije mali broj igrača da tako kažem "u godinama" kojima su takva slova prilično iritirajuča u odnosu na bijela,žuta ili zelena.Hvala.
Poslednja Izmena: Novembar 20, 2009, 15:38:49 POSLE PODNE od 100lar

da :D


SendClientMessage(playerid, COLOR_TU STAVIS BOJU KOJU OCES, "STAVIS SVOJ TEKST");


evo ti definiane gf boje

#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_WHITE 0xFFFFFFAA

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









r4z0r

Evo ove ja boje koristim ..

#define COLOR_DBLUE 0x2641FEAA
#define COLOR_NEWS 0x0000BBAA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_GROVE 0x00FF00FF
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_WHITE 0xFFFFFFAA
#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_NEWS 0x0000BBAA
#define TEAM_GREEN_COLOR 0xFFFFFFAA
#define TEAM_JOB_COLOR 0xFFB6C1AA
#define TEAM_HIT_COLOR 0xFFFFFF00
#define TEAM_BLUE_COLOR 0x8D8DFF00
#define TEAM_RADIO_COLOR 0xF2D068FF
#define COLOR_ADD 0x63FF60AA
#define TEAM_GROVE_COLOR 0x00D900C8
#define TEAM_VAGOS_COLOR 0xFFC801C8
#define TEAM_BALLAS_COLOR 0xD900D3C8
#define TEAM_AZTECAS_COLOR 0x01FCFFC8
#define TEAM_CYAN_COLOR 0xFF8282AA
#define TEAM_ORANGE_COLOR 0xFF830000
#define TEAM_COR_COLOR 0x39393900
#define TEAM_BAR_COLOR 0x00D90000
#define TEAM_TAT_COLOR 0xBDCB9200
#define TEAM_CUN_COLOR 0xD900D300
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define TEAM_STR_COLOR 0x01FCFF00
#define GREEN 0x21DD00FF
#define RED 0xE60000FF
#define ADMIN_RED 0xFB0000FF
#define YELLOW 0xFFFF00FF
#define ORANGE 0xF97804FF
#define LIGHTRED 0xFF8080FF
#define LIGHTBLUE 0x00C2ECFF
#define PURPLE 0xB360FDFF
#define PLAYER_COLOR 0xFFFFFFFF
#define BLUE 0x1229FAFF
#define LIGHTGREEN 0x38FF06FF
#define DARKPINK 0xE100E1FF
#define DARKGREEN 0x008040FF
#define ANNOUNCEMENT 0x6AF7E1FF
#define COLOR_SYSTEM 0xEFEFF7AA
#define GRAY 0xCECECEFF
#define c_r 0xAA3333AA
#define COLOR_GREY 0xAFAFAFAA
#define GREEN 0x21DD00FF
#define RED 0xE60000FF
#define ADMIN_RED 0xFB0000FF
#define YELLOW 0xFFFF00FF
#define ORANGE 0xF97804FF
#define LIGHTRED 0xFF8080FF
#define LIGHTBLUE 0x00C2ECFF
#define PURPLE 0xB360FDFF
#define BLUE 0x1229FAFF
#define LIGHTGREEN 0x38FF06FF
#define DARKPINK 0xE100E1FF
#define NICESKY 0x99FFFFAA
#define GRAY 0xCECECEFF
#define WHITE 0xFFFFFFAA
#define yellow 0xFFFF00AA
#define red 0xFF0000AA
#define green 0x33FF33AA
#define COLOR_YELLOW 0xFFFF00AA

Hvala na odgovorima,no ne radi se o textu na sredini ekrana nego onom sastrane koji je napisan sitnim slovima.Mislim da je taj text po deafultu crven i da bi trebalo znati gdje je on definiran da se tamo promijeni boja.Moja pretpostavka a sad ...

r4z0r

Pa ja te nebi skuzio ni da zivim 3 zivota  :-\
Text na sredini ? Mislio si na text draw ? .. a taj " sa strane " mislim da bi trebao biti normalni text sa ljeve gornje strane jel ? Pa ako vec kucaju neku komandu  stavis SendClientMassageToAll  pa boju i zeljeni text nezz stvarno sta te zanima objasni to malo bolje ..

ako ti mislis da je sendmeassagetoall ono na sredini ekrana ona si.... A ovo sta smo ti mi dali to ti je CHAT OD SERVERA

======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









on misli promijeniti onu boju slova kad se igrac ulogira i pise u dojnjem desnom kutu Welcom Ime_Prezime...!!!
Jeli tako???

r4z0r

Ma nek pojasni sta hoce .. za sendclientmassage sam mislio poruku u ljevom gornjem uglu .. ako vec oces na sredini na dnu i slicno skines si filterscriptu text draw editor napravis po zelji i ubacis na server -.- .

ScorpioN

imas tamo GameTextForPlayer(playerid,"Welcome %s!",...... nije bitno dalje, samo dodaj nesto s ove liste

    * ~r~ Red

    * ~g~ Green

    * ~b~ Blue

    * ~w~ White

    * ~y~ Yellow

    * ~p~ Purple

    * ~l~ Black

    * ~h~ Turn text colour lighter (used too much will make your text white, doesnt work on black)

i onda bi ti trebalo biti npr GameTextForPlayer(playerid,"~n~~y~Welcome %s!",..... i ispisat ce onda jedan red dalje u zutoj boji