Jump to content
  • 0

pomoc viditelnost TextDrawu


tejpek

Dotaz

Zdravim, chtěl jsem se zeptat, jestli se dá nějak ovlivnit, kterej TextDraw bude nad jiným TextDrawem, resp. mám TexDraw1 (černá neprůhledná lišta) a potřebuju NA něj posadit TextDraw2 s bílým textem.

 

Chytrákům, který budou psát "inteligentní" odpovědi typu "ať použiju text z TextDrawu1", ještě dopíšu že přesně to nechci ;-)

Link to comment
Share on other sites

3 odpovědí na tuto otázku

Recommended Posts

  • 0
Sprav z toho jeden textdraw.

 

A je to tady...

 

Chytrákům, který budou psát "inteligentní" odpovědi typu "ať použiju text z TextDrawu1", ještě dopíšu že přesně to nechci ;-)

 

Dobře, není to přesně ta věta, ale význam to má úplně stejnej.

Link to comment
Share on other sites

  • 0

Tak to sry.. Chcel som pomôcť.. :d V pawne tiež niesom nejaký expert, ale:

 

textdraw = TextDrawCreate(120 ,20 , "TVOJ TEXT"); //Poloha textdrawu na obrazovke a tvoj text
TextDrawFont(textdraw , 1); // Typ textu v txtdrawu ( od 0-3)
TextDrawLetterSize(textdraw , 1.4, 5.0); //Veľkosť textrawu
TextDrawColor(textdraw , 0x00ff11FF); //farba textdrawu
TextDrawSetOutline(textdraw , true); // Obtiahnutie textdrawu, true/1 - Text bude obtiahnutý čiernou farbou, false/0 - text bude bez obtiahnutia
TextDrawSetProportional(textdraw , true);
TextDrawSetShadow(textdraw , 1);
TextDrawUseBox(textdraw, 1); // Pridá box (aspoň myslím ) - Box to je pozadie textdrawu
TextDrawBoxColor(textdraw, FARBA BOXU); // Farba boxu

(ak som to napísal zle, tak ma niekto opravte :d)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...