Jump to content
  • 0

pomoc [Help]TextDraw


eLko

Dotaz

8 odpovědí na tuto otázku

Recommended Posts

  • 0

http://bsndesign.webs.com/tde.htm - Web na vytváranie textdrawov

Inak tu máš vytvorený názorný textdraw:

 

Hore:

new Text:Textdraw5;

 

OnGameModeInit/ OnFilescriptInit:

Textdraw5 = TextDrawCreate(8, 428, "Tvoj TEXT "); // Čísla - Poloha text drawu 
TextDrawAlignment(Textdraw5, 1) 
TextDrawFont(Textdraw5, 1); //font textdrawu (font - typ textu, môže byť od 0-3)
TextDrawLetterSize(Textdraw5, 0.399999,2.100000);
TextDrawColor(Textdraw5, 16711935); //Farba textdrawu
TextDrawSetShadow(Textdraw5, 1);
TextDrawSetProportional(Textdraw5, 2);
TextDrawSetOutline(Textdraw5, 1); // 1 - Text bude obtiahnutý čiernou farbou 0 - text bude bez obtiahnutia
TextDrawUseBox(Textdraw5, 1); // "Pozadie" textdrawu
TextDrawBoxColor(Textdraw5, 0xfc7600FF); //farba "pozadia"

 

OnPlayerConnect:

TextDrawShowForPlayer(playerid, Textdraw5)// Zobrazí textdraw pre hráča

(Ak som to popísal zle, tak ma niekto opravte.. :d V pawne som začiatočník :d)

Link to comment
Share on other sites

  • 0
A nebo tu máš Editor :) Od Freewalla hodíš do hry jako FS vytvoříš si Textdraw podle tvých představ a pak se ti uloží do Scriptfiles a ty jen hodíš kod do pawna .

Tu ho máš ;)http://pawno.cz/text-draw-editor-tde-t2362.html

 

To už mám ale to je na 0.3d .. a na 0.3e mi to neslo .. :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...