SA-MP Forums Archive
Textdraw Problem - 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 Problem (/showthread.php?tid=529886)



Textdraw Problem - Sanady - 04.08.2014

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!


Re: Textdraw Problem - Stanford - 04.08.2014

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.