TextDraw Selecting Problem
#1

I'm having problem selecting textdraws, it hovers all of the texts, i mean if i select the td under the first one it will select td above it, or if you select last td it will hover all of the tds.


pawn Код:
RegTD[5][playerid] = TextDrawCreate(317.500000, 186.937500, "Spol");
    TextDrawLetterSize(RegTD[5][playerid], 0.368000, 1.140625);
    TextDrawAlignment(RegTD[5][playerid], 2);
    TextDrawColor(RegTD[5][playerid], -1);
    TextDrawSetShadow(RegTD[5][playerid], 0);
    TextDrawSetOutline(RegTD[5][playerid], 0);
    TextDrawBackgroundColor(RegTD[5][playerid], 255);
    TextDrawFont(RegTD[5][playerid], 3);
    TextDrawSetProportional(RegTD[5][playerid], 1);
    TextDrawSetShadow(RegTD[5][playerid], 0);
    TextDrawSetSelectable(RegTD[5][playerid], true);
    TextDrawTextSize(RegTD[5][playerid], 396.500000, 10.000000);

    RegTD[6][playerid] = TextDrawCreate(317.601440, 217.562500, "starost");
    TextDrawLetterSize(RegTD[6][playerid], 0.368000, 1.140625);
    TextDrawAlignment(RegTD[6][playerid], 2);
    TextDrawColor(RegTD[6][playerid], -1);
    TextDrawSetShadow(RegTD[6][playerid], 0);
    TextDrawSetOutline(RegTD[6][playerid], 0);
    TextDrawBackgroundColor(RegTD[6][playerid], 255);
    TextDrawFont(RegTD[6][playerid], 3);
    TextDrawSetProportional(RegTD[6][playerid], 1);
    TextDrawSetShadow(RegTD[6][playerid], 0);
    TextDrawSetSelectable(RegTD[6][playerid], true);
    TextDrawTextSize(RegTD[6][playerid], 396.500000, 10.000000);

    RegTD[7][playerid] = TextDrawCreate(320.500000, 251.250000, "mesto_rodjenja");
    TextDrawLetterSize(RegTD[7][playerid], 0.368000, 1.140625);
    TextDrawAlignment(RegTD[7][playerid], 2);
    TextDrawColor(RegTD[7][playerid], -1);
    TextDrawSetShadow(RegTD[7][playerid], 0);
    TextDrawSetOutline(RegTD[7][playerid], 0);
    TextDrawBackgroundColor(RegTD[7][playerid], 255);
    TextDrawFont(RegTD[7][playerid], 3);
    TextDrawSetProportional(RegTD[7][playerid], 1);
    TextDrawSetShadow(RegTD[7][playerid], 0);
    TextDrawSetSelectable(RegTD[7][playerid], true);
    TextDrawTextSize(RegTD[7][playerid], 396.000000, 10.000000);
Reply
#2

Try to change the TextDrawTextSize this is what causes your problem.

example:
TextDrawTextSize(RegTD[5][playerid], 10.00000, 10.000000); also, try to increase decrease them its up to you if it didn't work try to switch between x and y
Reply
#3

Change the Y of TextDrawTextSize, I suggest you use 20 instead of 10.

For exemple :

Replace,
PHP код:
TextDrawTextSize(RegTD[7][playerid], 396.00000010.000000); 
With :
PHP код:
TextDrawTextSize(RegTD[7][playerid], 396.00000020.000000); 
KillerDVX,
Reply
#4

Код:
TextDrawTextSize(RegTD[7][playerid], 396.000000, 20.000000);
and try again
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)