Textdraw problem
#1

I'm having a problem with textdraw. Here, take a look at this screenshot

Textdraw box are too long, how can I fix it?

Codes
pawn Код:
lsreq = TextDrawCreate(195.0,332.0,"Los Santos Gang Members");
    TextDrawLetterSize(lsreq,0.5,1);
    TextDrawColor(lsreq,lscolor);
    TextDrawUseBox(lsreq,1);
    TextDrawBoxColor(lsreq,0x3F3F3FFF);
    TextDrawSetShadow(lsreq,0);
    TextDrawSetOutline(lsreq,1);
    TextDrawFont(lsreq,1);
Reply
#2

Up...
Edited the first post
Reply
#3

You need to use TextDrawTextSize
Reply
#4

Set TextDrawAlignment to center then your will we in b/w the box :

pawn Код:
TextDrawAlignment(MyTextdraw, 2); // Align the textdraw in the center
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)