Can't select textdraw
#1

I'm trying to create a textdraw but when i click on the textdraw created nothing happens..
pawn Код:
TDEntrar = TextDrawCreate(317.000000, 152.000000, "ENTRAR");
    TextDrawAlignment(TDEntrar, 2);
    TextDrawBackgroundColor(TDEntrar, 255);
    TextDrawFont(TDEntrar, 1);
    TextDrawLetterSize(TDEntrar, 0.619998, 1.799999);
    TextDrawColor(TDEntrar, -1);
    TextDrawSetOutline(TDEntrar, 0);
    TextDrawSetProportional(TDEntrar, 1);
    TextDrawSetShadow(TDEntrar, 1);
    TextDrawUseBox(TDEntrar, 1);
    TextDrawBoxColor(TDEntrar, 0);
    TextDrawTextSize(TDEntrar, 0.000000, 108.000000);
    TextDrawSetSelectable(Text:TDEntrar, 1);
Why can't select it?
Reply
#2

You are spanish right?

Change:

pawn Код:
TextDrawTextSize(TDEntrar, 0.000000, 108.000000);
To:

pawn Код:
TextDrawTextSize(TDEntrar, 20.000000, 108.000000); // Or try other X value.

Regards.
Reply
#3

Did you add "OnPlayerClickTextDraw" ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)