SA-MP Forums Archive
Text Fonts! - 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: Text Fonts! (/showthread.php?tid=428560)



Text Fonts! - BodyBoardVEVO - 06.04.2013

How to get that text font on screen ?




Re: Text Fonts! - Xicor - 06.04.2013

You can create it by using CreatePlayerTextDraw on player Spawn or Connect.You also need a TextDraw Editor.


Re: Text Fonts! - ]Rafaellos[ - 06.04.2013

https://sampwiki.blast.hk/wiki/GameTextStyle#Text_Styles


Re: Text Fonts! - BodyBoardVEVO - 06.04.2013

You mean, that is textdraw ? not like /announce


Re: Text Fonts! - Xicor - 06.04.2013

Yes,Its a TextDraw so when you connect or spawn it shows the TextDraw.


Re: Text Fonts! - Xicor - 06.04.2013

Here is an Example.
Код:
new Text:Welcome; // Variable

// Put This Under OnGameModeInit

Welcome = TextDrawCreate(188.000000, 263.199707, "Welcome To Los Santos");
TextDrawLetterSize(Welcome, 0.659499, 2.406400);
TextDrawAlignment(Welcome, 1);
TextDrawColor(Welcome, -1);
TextDrawSetShadow(Welcome, 0);
TextDrawSetOutline(Welcome, 1);
TextDrawBackgroundColor(Welcome, 51);
TextDrawFont(Welcome, 3);
TextDrawSetProportional(Welcome, 1);



Re: Text Fonts! - BodyBoardVEVO - 06.04.2013

Quote:
Originally Posted by Xicor
Посмотреть сообщение
Here is an Example.
Код:
new Text:Welcome; // Variable

// Put This Under OnGameModeInit

Welcome = TextDrawCreate(188.000000, 263.199707, "Welcome To Los Santos");
TextDrawLetterSize(Welcome, 0.659499, 2.406400);
TextDrawAlignment(Welcome, 1);
TextDrawColor(Welcome, -1);
TextDrawSetShadow(Welcome, 0);
TextDrawSetOutline(Welcome, 1);
TextDrawBackgroundColor(Welcome, 51);
TextDrawFont(Welcome, 3);
TextDrawSetProportional(Welcome, 1);
I ask for fonts not textdraws! Anyways Thanks to all who reply.


Re: Text Fonts! - Basssiiie - 06.04.2013

Quote:
Originally Posted by BodyBoardVEVO
Посмотреть сообщение
I ask for fonts not textdraws! Anyways Thanks to all who reply.
It's font 3. More information: TextDrawFont.


Re: Text Fonts! - TheSka - 06.04.2013

It's Font 3 in Textdraws, called Pricedown. Used for the GTA 3 franchise.