Textdraw help.
#1

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.600036135.893295"Welcome to");
    
TextDrawLetterSize(Textdraw1[playerid], 0.9404003.156799);
    
TextDrawTextSize(Textdraw1[playerid], 122.40000153.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(playeridTextdraw1[playerid]); 
I need that 'to' to be in the first line. Thanks in advance.
Reply
#2

Try to create it with a TextDraw editor, like the Zamaroth one.
Reply
#3

Quote:
Originally Posted by alanhutch
Посмотреть сообщение
Try to create it with a TextDraw editor, like the Zamaroth one.
Can you give me link?
Reply
#4

I need to edit the existing one, not to re-create it.
Reply
#5

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
Reply
#6

Quote:
Originally Posted by Lidor124
Посмотреть сообщение
I'm not sure but that might makes your problem:



You can check this:
https://sampwiki.blast.hk/wiki/TextDrawSetProportional
It's already like this -_-
Reply
#7

Does it got anything to do with TextDrawTextSize?
Reply
#8

Any help?
Reply
#9

Create a space or something, between the text draws lines.
Reply
#10

Quote:
Originally Posted by DRP
Посмотреть сообщение
Create a space or something, between the text draws lines.
?

I can't understand what you said.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)