22.03.2016, 14:04
The problem is that the textdraws dont get selected
Note: I used iTD for the textdraws
Код:
Textdraw6 = TextDrawCreate(303.555511, 153.813339, "LOGIN"); TextDrawLetterSize(Textdraw6, 0.449999, 1.600000); TextDrawAlignment(Textdraw6, 1); TextDrawColor(Textdraw6, -1); TextDrawSetShadow(Textdraw6, 0); TextDrawSetOutline(Textdraw6, 1); TextDrawBackgroundColor(Textdraw6, 51); TextDrawFont(Textdraw6, 3); TextDrawSetProportional(Textdraw6, 1); TextDrawTextSize(Textdraw6, 10.0,10.0); TextDrawSetSelectable(Textdraw6, true); Textdraw4 = TextDrawCreate(288.888916, 120.960006, "REGISTER"); TextDrawLetterSize(Textdraw4, 0.449999, 1.600000); TextDrawAlignment(Textdraw4, 1); TextDrawColor(Textdraw4, -1); TextDrawSetShadow(Textdraw4, 0); TextDrawSetOutline(Textdraw4, 1); TextDrawBackgroundColor(Textdraw4, 51); TextDrawFont(Textdraw4, 3); TextDrawSetProportional(Textdraw4, 1); TextDrawTextSize(Textdraw4, 10.0,10.0); TextDrawSetSelectable(Textdraw4, true);
Код:
TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw6); SelectTextDraw(playerid, COLOR_GREY);