Textdraw Problem
#1

Hello everybody today I wanted to make a clickable textdraw but I have some problems. When I use Textsize textdraw can`t be selected without that functon textdraw can be selected. Here is the code:

pawn Код:
Textdraw[136] = CreatePlayerTextDraw(playerid,300.000000, 121.000000, "Next");
    PlayerTextDrawBackgroundColor(playerid,Textdraw[136], 255);
    PlayerTextDrawFont(playerid,Textdraw[136], 2);
    PlayerTextDrawLetterSize(playerid,Textdraw[136], 0.209999, 1.699998);
    PlayerTextDrawColor(playerid,Textdraw[136], -2037476865);
    PlayerTextDrawSetOutline(playerid,Textdraw[136], 1);
    PlayerTextDrawSetProportional(playerid,Textdraw[136], 1);
    PlayerTextDrawTextSize(playerid,Textdraw[136], 200.000000, 12.000000);
    PlayerTextDrawSetSelectable(playerid,Textdraw[136], 1);
Here is code reply fast!
Reply
#2

If this textdraw is just a next button (the string won't get changed), convert it to a global textdraw.

If after converting it didn't work, try decreasing the text size and I think it will work I remember this happened with me once not sure.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)