TextDraw sprite not work
#1

hi
i made a check login/register for player
The player on connect has it 4 player textdraw
if he/she select wrong textdraw == kick
but textdraws did not work on click
hover color on textdraw is ok, but click not work

Код:
TDGrupa1[playerid][8] = CreatePlayerTextDraw(playerid, 567.049987, 311.325012, "LD_OTB2:Ric1");PlayerTextDrawLetterSize(playerid, TDGrupa1[playerid][8], 0.000000, 0.000000);PlayerTextDrawTextSize(playerid, TDGrupa1[playerid][8], 23.000000, 19.687500);PlayerTextDrawAlignment(playerid, TDGrupa1[playerid][8], 1);PlayerTextDrawColor(playerid, TDGrupa1[playerid][8], -1);PlayerTextDrawSetShadow(playerid, TDGrupa1[playerid][8], 0);PlayerTextDrawSetOutline(playerid, TDGrupa1[playerid][8], 0);PlayerTextDrawFont(playerid, TDGrupa1[playerid][8], 4);PlayerTextDrawSetSelectable(playerid, TDGrupa1[playerid][8], true);
TDGrupa1[playerid][9] = CreatePlayerTextDraw(playerid, 567.450012, 338.006591, "LD_OTB2:Ric2");PlayerTextDrawLetterSize(playerid, TDGrupa1[playerid][9], 0.000000, 0.000000);PlayerTextDrawTextSize(playerid, TDGrupa1[playerid][9], 23.000000, 19.687500);PlayerTextDrawAlignment(playerid, TDGrupa1[playerid][9], 1);PlayerTextDrawColor(playerid, TDGrupa1[playerid][9], -1);PlayerTextDrawSetShadow(playerid, TDGrupa1[playerid][9], 0);PlayerTextDrawSetOutline(playerid, TDGrupa1[playerid][9], 0);PlayerTextDrawFont(playerid, TDGrupa1[playerid][9], 4);PlayerTextDrawSetSelectable(playerid, TDGrupa1[playerid][9], true);
TDGrupa1[playerid][10] = CreatePlayerTextDraw(playerid, 567.199951, 364.206054, "LD_OTB2:Ric3");PlayerTextDrawLetterSize(playerid, TDGrupa1[playerid][10], 0.000000, 0.000000);PlayerTextDrawTextSize(playerid, TDGrupa1[playerid][10], 23.000000, 19.687500);PlayerTextDrawAlignment(playerid, TDGrupa1[playerid][10], 1);PlayerTextDrawColor(playerid, TDGrupa1[playerid][10], -1);PlayerTextDrawSetShadow(playerid, TDGrupa1[playerid][10], 0);PlayerTextDrawSetOutline(playerid, TDGrupa1[playerid][10], 0);PlayerTextDrawFont(playerid, TDGrupa1[playerid][10], 4);PlayerTextDrawSetSelectable(playerid, TDGrupa1[playerid][10], true);
TDGrupa1[playerid][11] = CreatePlayerTextDraw(playerid, 567.500000, 390.625000, "LD_OTB2:Ric4");PlayerTextDrawLetterSize(playerid, TDGrupa1[playerid][11], 0.000000, 0.000000);PlayerTextDrawTextSize(playerid, TDGrupa1[playerid][11], 23.000000, 19.687500);PlayerTextDrawAlignment(playerid, TDGrupa1[playerid][11], 1);PlayerTextDrawColor(playerid, TDGrupa1[playerid][11], -1);PlayerTextDrawSetShadow(playerid, TDGrupa1[playerid][11], 0);PlayerTextDrawSetOutline(playerid, TDGrupa1[playerid][11], 0);PlayerTextDrawFont(playerid, TDGrupa1[playerid][11], 4);PlayerTextDrawSetSelectable(playerid, TDGrupa1[playerid][11], true);
TDGrupa1[playerid][12] = CreatePlayerTextDraw(playerid, 572.500000, 420.875000, "LD_CHAT:thumbup");PlayerTextDrawLetterSize(playerid, TDGrupa1[playerid][12], 0.000000, 0.000000);PlayerTextDrawTextSize(playerid, TDGrupa1[playerid][12], 17.500000, 15.312500);PlayerTextDrawAlignment(playerid, TDGrupa1[playerid][12], 1);PlayerTextDrawColor(playerid, TDGrupa1[playerid][12], -1);PlayerTextDrawSetShadow(playerid, TDGrupa1[playerid][12], 0);PlayerTextDrawSetOutline(playerid, TDGrupa1[playerid][12], 0);PlayerTextDrawFont(playerid, TDGrupa1[playerid][12], 4);PlayerTextDrawSetSelectable(playerid, TDGrupa1[playerid][12], true);
this is photo of textdraws http://prntscr.com/fy0dq6
what is problem with this?
sorry for bad english
thanks
Reply
#2

enyone knows what is problem?
Reply
#3

Is there any reason why they're all on one line except for making them a bitch to read?

Add a bright background temporarily. It ought to show you the clickable area.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)