Jump to content

[Tutorial] Cum sa faci un Text Draw


ArMa.BUG
 Share

Recommended Posts

Salut bugged astazi o sa va arat cum sa faceti un text draw:D

 

1.trb sa creem un text draw pt asta trebuie sa facem acest lucru(il punem sub includes):

 

new Text:Textbug;

 

 

2.bun am creeat new-ul acum trebuie sa creem mesajul:

 

Textbug = TextDrawCreate(54.000000, 326.000000,"Aici postezi mesajul tau");
TextDrawFont(Textbug,3); ==> font-ul este de 4 tipuri
TextDrawColor(Textbug,0x00FFFFFF); ==> aceasta este culoarea
TextDrawLetterSize(Textbug,0.599999,1.000000);
TextDrawSetOutline(Textbug,1);
TextDrawSetShadow(Texbug,1);
TextDrawSetProportional(Textbug,1);

 

 

 

3.am terminat de creeat text draw-ul acum o sa-l facem vizibil jucatorilor:

Cautam linia asta : public OnPlayerConnect(playerid)   adaugam sub functie asta :

TextDrawShowForPlayer(playerid,Textbug); [/spoiler]

Cateva informatii:

tipuri de font-uri:q3xUoyG.png?1

 

culori pawno:

0xFFFFFFFF - alb
0xFFFF00FF - galben
0xFF9900FF - portocaliu
0xFF66FFFF - roz
0xFF0000FF - rosu
0x66FF00FF - verde deschis
0x66FF99FF - verde inchis
0x336699FF - negru
0x000099FF - albastru inchis
0x00FFFFFF - albastru deschis

 

Multumesc lui KruZZ.Capone pt culori.ASPT Pareti/comentarii (tutorialu e facut de mine 100%)

P.S : DACA MAI ESTE UN TUTORIAL La fel DATI-MI UN PM SI O SAL STERG

Edited by ArMa.BUG
  • Upvote 1
Link to comment
Share on other sites

  • 3 months later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.