SA-MP Forums Archive
Problem with selectable textdraw - 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: Problem with selectable textdraw (/showthread.php?tid=454479)



Problem with selectable textdraw - verlaj - 29.07.2013

i created this textdraw

pawn Код:
TextdrawClassZ = CreatePlayerTextDraw(playerid,170.000000, 180.000000, "Low Noob");
    PlayerTextDrawBackgroundColor(playerid,TextdrawClassZ, 255);
    PlayerTextDrawFont(playerid,TextdrawClassZ, 2);
    PlayerTextDrawLetterSize(playerid,TextdrawClassZ, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,TextdrawClassZ, 16711935);
    PlayerTextDrawSetOutline(playerid,TextdrawClassZ, 1);
    PlayerTextDrawSetProportional(playerid,TextdrawClassZ, 1);
    PlayerTextDrawSetSelectable(playerid,TextdrawClassZ, 1);
also made it selectable but when i move my mouse on the textdraw, it blinks but other textdraws do the same (which are selectable), is there anything else that i need to add ?


Re: Problem with selectable textdraw - MP2 - 29.07.2013

TextDrawTextSize.


Re: Problem with selectable textdraw - verlaj - 29.07.2013

and what about the coordinates ?

same as letter size or something ?


Re: Problem with selectable textdraw - ThePhenix - 29.07.2013

You'd better read: https://sampwiki.blast.hk/wiki/TextDrawTextSize


Re: Problem with selectable textdraw - MP2 - 29.07.2013

Play around with different values until it works.