SA-MP Forums Archive
3Dtext!Color - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3Dtext!Color (/showthread.php?tid=454485)



3Dtext!Color - Gold_Master - 29.07.2013

soo i want to change te color the color is WHITE and i want to change to 2 colors BLUE AND YELLOW

Gazda level zarabotka Pari to blue and

%s %s %d %d § %d $ &d $ TI YELLOW can some one help me plss!!

http://zaslike.com/files/bfyhwmph52qrxiqf03a7.png

http://zaslike.com/files/pmxzcs7f2suosiujv6s.png


Re: 3Dtext!Color - dEcooR - 29.07.2013

make this dude at top of your script

you can change theese colors to ur

W - White
Y - Yellow

Код:
#define W 	"{FFFFFF}"
#define Y	"{F3FF02}"
and then
Код:
use in your textlabel "Y" %s: "W" text



AW: 3Dtext!Color - Gold_Master - 29.07.2013

noup dont work :@


Re: 3Dtext!Color - dEcooR - 29.07.2013

dude what dont work? did u made as i said?


AW: Re: 3Dtext!Color - Gold_Master - 29.07.2013

Quote:
Originally Posted by dEcooR
Посмотреть сообщение
dude what dont work? did u made as i said?
herre try you self


PHP код:
#if defined CHECK_LEVEL
                
format(string,sizeof(string),"%s{%06x}\n\nGazda: %s\nLevel: %d\nCena: %d $\nZarabotka: ~%d $\nPari: %d $"bInfo[CountBizzs()][bIme], bizzboja2 >>> 8bInfo[CountBizzs()][bVlasnik], bInfo[CountBizzs()][bLevel], bInfo[CountBizzs()][bCijena], bInfo[CountBizzs()][bZarada], bInfo[CountBizzs()][bNovac]);
            
#else
                
format(string,sizeof(string),"%s{%06x}\n\nGazda: %s\nZarabotka: %d $\nPari: ~%d $"bInfo[CountBizzs()][bIme], bizzboja2 >>> 8bInfo[CountBizzs()][bVlasnik], bInfo[CountBizzs()][bZarada], bInfo[CountBizzs()][bNovac]);
            
#endif
            
BizzText[CountBizzs()] = Create3DTextLabel(stringbizzboja1posxposyposz300); dini_IntSet(NUMBER_FILE,"bizzs"CountBizzs()+1); 



Re: 3Dtext!Color - dEcooR - 29.07.2013

So
try yet one

this at top of your script under includes

Код:
#define W 	"{FFFFFF}"
#define Y	"{F3FF02}"
Код:
#if defined CHECK_LEVEL
                format(string,sizeof(string),"%s{%06x}\n\n"Y"Gazda: "W"%s\n"Y"Level: "W"%d\n"Y"Cena: "W"%d $\n"Y"Zarabotka: "W"~%d $\n"Y"Pari: "W"%d $", bInfo[CountBizzs()][bIme], bizzboja2 >>> 8, bInfo[CountBizzs()][bVlasnik], bInfo[CountBizzs()][bLevel], bInfo[CountBizzs()][bCijena], bInfo[CountBizzs()][bZarada], bInfo[CountBizzs()][bNovac]);
            #else
                format(string,sizeof(string),"%s{%06x}\n\n"Y"Gazda: "W"%s\n"Y"Zarabotka: "W"%d $\n"Y"Pari: "W"~%d $", bInfo[CountBizzs()][bIme], bizzboja2 >>> 8, bInfo[CountBizzs()][bVlasnik], bInfo[CountBizzs()][bZarada], bInfo[CountBizzs()][bNovac]);
            #endif
            BizzText[CountBizzs()] = Create3DTextLabel(string, bizzboja1, posx, posy, posz, 3, 0, 0); dini_IntSet(NUMBER_FILE,"bizzs", CountBizzs()+1);



AW: 3Dtext!Color - Gold_Master - 29.07.2013

how to make like this here
http://www.zaslike.com/viewer.php?fi...dy3vsjctom.png

Mine is like this
http://zaslike.com/viewer.php?file=l...2o2iy30bnh.png

I want to make like this 1 photo can some one help me?

Quote:

format(string,sizeof(string),""R"Firma\n"B"Ime:"Y" %s\n"B"Gazda:"Y"%s\n"B"Level:"Y"%d\n"B"Cena:"Y"%d $\n"B"Zarabotka: "Y"~%d $\n"B"Pari:"Y"%d $", bInfo[CountBizzs()][bIme], bizzboja2 >>> 8, bInfo[CountBizzs()][bVlasnik], bInfo[CountBizzs()][bLevel], bInfo[CountBizzs()][bCijena], bInfo[CountBizzs()][bZarada], bInfo[CountBizzs()][bNovac]);




AW: 3Dtext!Color - Gold_Master - 29.07.2013

refreshhhhhhh