SelectableTextdraw Problem -_-
#1

hi so this is my textdraw:
Код:
//Player Textdraws:

new PlayerText:InputPass[MAX_PLAYERS][11];


InputPass[playerid][0] = CreatePlayerTextDraw(playerid, 379.199829, 253.119934, "ENTER");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][0], 0.363599, 3.899734);
PlayerTextDrawAlignment(playerid, InputPass[playerid][0], 2);
PlayerTextDrawColor(playerid, InputPass[playerid][0], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][0], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][0], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][0], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][0], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][0], true);

InputPass[playerid][1] = CreatePlayerTextDraw(playerid, 241.800033, 244.413223, "4");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][1], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][1], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][1], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][1], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][1], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][1], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][1], true);

InputPass[playerid][2] = CreatePlayerTextDraw(playerid, 242.000030, 284.239929, "7");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][2], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][2], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][2], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][2], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][2], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][2], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][2], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][2], true);

InputPass[playerid][3] = CreatePlayerTextDraw(playerid, 285.399993, 283.746582, "8");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][3], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][3], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][3], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][3], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][3], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][3], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][3], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][3], true);

InputPass[playerid][4] = CreatePlayerTextDraw(playerid, 327.999969, 283.999908, "9");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][4], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][4], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][4], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][4], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][4], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][4], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][4], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][4], true);

InputPass[playerid][5] = CreatePlayerTextDraw(playerid, 327.399993, 244.679809, "6");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][5], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][5], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][5], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][5], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][5], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][5], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][5], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][5], true);

InputPass[playerid][6] = CreatePlayerTextDraw(playerid, 284.399963, 244.933151, "5");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][6], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][6], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][6], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][6], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][6], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][6], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][6], true);

InputPass[playerid][7] = CreatePlayerTextDraw(playerid, 284.599975, 205.613037, "2");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][7], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][7], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][7], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][7], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][7], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][7], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][7], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][7], true);

InputPass[playerid][8] = CreatePlayerTextDraw(playerid, 327.199951, 205.866378, "3");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][8], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][8], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][8], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][8], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][8], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][8], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][8], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][8], true);

InputPass[playerid][9] = CreatePlayerTextDraw(playerid, 240.999938, 206.119720, "1");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][9], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][9], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][9], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][9], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][9], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][9], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][9], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][9], true);

InputPass[playerid][10] = CreatePlayerTextDraw(playerid, 286.000000, 324.346343, "0");
PlayerTextDrawLetterSize(playerid, InputPass[playerid][10], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, InputPass[playerid][10], 1);
PlayerTextDrawColor(playerid, InputPass[playerid][10], -1);
PlayerTextDrawSetShadow(playerid, InputPass[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, InputPass[playerid][10], 1);
PlayerTextDrawBackgroundColor(playerid, InputPass[playerid][10], 51);
PlayerTextDrawFont(playerid, InputPass[playerid][10], 1);
PlayerTextDrawSetProportional(playerid, InputPass[playerid][10], 1);
PlayerTextDrawSetSelectable(playerid, InputPass[playerid][10], true);
when i want to select a number it will hover all over the other numbers , and yes i searched on the forum i think it's about PlayerTextDrawTextSize , i added this to codes to but now it will just hover on "3" and some where "3" + "Enter" ! what should i do? can you please edit this for me?

i put this under them : PlayerTextDrawTextSize(playerid, InputPass[playerid][...], 100.000000,20.00000);
Reply


Messages In This Thread
SelectableTextdraw Problem -_- - by PoniStar - 08.01.2019, 14:39
Re: SelectableTextdraw Problem -_- - by L0K3D - 08.01.2019, 15:28
Re: SelectableTextdraw Problem -_- - by PoniStar - 08.01.2019, 16:06
Re: SelectableTextdraw Problem -_- - by ApolloScripter - 08.01.2019, 18:44
Re: SelectableTextdraw Problem -_- - by PoniStar - 08.01.2019, 19:53
Re: SelectableTextdraw Problem -_- - by PoniStar - 09.01.2019, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)