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



SelectTextdraw Problem - Sanady - 22.08.2013

Hello everybody I saw simular problem here but I was looking for solution but I didn`t find it so I am asking here...When I use selecttextdraw on my textdraw which have name M4 I get selected Desert Deagle textdraw which is under M4 selected too. I don`t know why it`s samp bug or what? here is code.Also I try to change TextDrawTextSize but nothing change,also I try box`s but then M4 won`t select so please take a look...

pawn Код:
Textdraw14 = TextDrawCreate(140.000000, 94.000000, "M4");
    TextDrawBackgroundColor(Textdraw14, 255);
    TextDrawFont(Textdraw14, 2);
    TextDrawLetterSize(Textdraw14, 0.219999, 1.200000);
    TextDrawColor(Textdraw14, -1);
    TextDrawSetOutline(Textdraw14, 1);
    TextDrawSetProportional(Textdraw14, 1);
    TextDrawUseBox(Textdraw14, 1);
    TextDrawBoxColor(Textdraw14, -256);
    TextDrawTextSize(Textdraw14, 180, 24.000000);
    TextDrawSetSelectable(Textdraw14, 1);

Textdraw17 = TextDrawCreate(140.000000, 151.000000, "Desert Deagle");
    TextDrawBackgroundColor(Textdraw17, 255);
    TextDrawFont(Textdraw17, 2);
    TextDrawLetterSize(Textdraw17, 0.219999, 1.200000);
    TextDrawColor(Textdraw17, -1);
    TextDrawSetOutline(Textdraw17, 1);
    TextDrawSetProportional(Textdraw17, 1);
    TextDrawSetSelectable(Textdraw17, 1);