19.05.2012, 20:59
I've looked over my code several times and I can't find a reason as to why I can't select this textdraw. It doesn't turn yellow when I put my mouse over it but the 'close' button under it works.
pawn Код:
gPhoneEnterNum[2] = TextDrawCreate(533.000000, 362.000000, "1");
TextDrawBackgroundColor(gPhoneEnterNum[2], 255);
TextDrawFont(gPhoneEnterNum[2], 1);
TextDrawLetterSize(gPhoneEnterNum[2], 0.600000, 1.000000);
TextDrawColor(gPhoneEnterNum[2], -1);
TextDrawSetOutline(gPhoneEnterNum[2], 1);
TextDrawSetProportional(gPhoneEnterNum[2], 1);
TextDrawTextSize(gPhoneEnterNum[2], 100.000000, 20.000000);
TextDrawSetSelectable(gPhoneEnterNum[2], 1);
pawn Код:
gPhoneMain[11] = TextDrawCreate(571.000000, 421.000000, "~r~close");
TextDrawAlignment(gPhoneMain[11], 2);
TextDrawBackgroundColor(gPhoneMain[11], 255);
TextDrawFont(gPhoneMain[11], 2);
TextDrawLetterSize(gPhoneMain[11], 0.419999, 1.300000);
TextDrawColor(gPhoneMain[11], -1);
TextDrawSetOutline(gPhoneMain[11], 1);
TextDrawSetProportional(gPhoneMain[11], 1);
TextDrawUseBox(gPhoneMain[11], 1);
TextDrawBoxColor(gPhoneMain[11], 53);
TextDrawTextSize(gPhoneMain[11], 15.000000, 86.000000);
TextDrawSetSelectable(gPhoneMain[11], 1);