Textdraw help. - 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: Textdraw help. (
/showthread.php?tid=553960)
Textdraw help. -
ATGOggy - 01.01.2015
It's a simple trouble but I can't fix it on my own because I'm not familiar with textdraws.
Here is the trouble:
And here's my code:
PHP код:
Textdraw1[playerid] =TextDrawCreate(245.600036, 135.893295, "Welcome to");
TextDrawLetterSize(Textdraw1[playerid], 0.940400, 3.156799);
TextDrawTextSize(Textdraw1[playerid], 122.400001, 53.013328);
TextDrawAlignment(Textdraw1[playerid], 1);
TextDrawColor(Textdraw1[playerid], 65535);
TextDrawSetShadow(Textdraw1[playerid], 0);
TextDrawSetOutline(Textdraw1[playerid], 1);
TextDrawBackgroundColor(Textdraw1[playerid], 51);
TextDrawFont(Textdraw1[playerid], 0);
TextDrawSetProportional(Textdraw1[playerid], 1);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
I need that 'to' to be in the first line. Thanks in advance.
Re: Textdraw help. -
alanhutch - 01.01.2015
Try to create it with a TextDraw editor, like the Zamaroth one.
Re: Textdraw help. -
ATGOggy - 01.01.2015
Quote:
Originally Posted by alanhutch
Try to create it with a TextDraw editor, like the Zamaroth one.
|
Can you give me link?
Re: Textdraw help. -
ATGOggy - 01.01.2015
I need to edit the existing one, not to re-create it.
Re: Textdraw help. -
Lidor124 - 01.01.2015
I'm not sure but that might makes your problem:
Quote:
TextDrawSetProportional(Textdraw1[playerid], 1);
|
You can check this:
https://sampwiki.blast.hk/wiki/TextDrawSetProportional
Re: Textdraw help. -
ATGOggy - 01.01.2015
Quote:
Originally Posted by Lidor124
|
It's already like this -_-
Re: Textdraw help. -
ATGOggy - 02.01.2015
Does it got anything to do with TextDrawTextSize?
Re: Textdraw help. -
ATGOggy - 02.01.2015
Any help?
Re: Textdraw help. -
DRP - 02.01.2015
Create a space or something, between the text draws lines.
Re: Textdraw help. -
ATGOggy - 02.01.2015
Quote:
Originally Posted by DRP
Create a space or something, between the text draws lines.
|
?
I can't understand what you said.