02.01.2017, 18:54
Hello, so I wanted to create a selectable textdraw based text, but it doesn't work, when I hover the cursor over the text, it doesn't get selected
PHP код:
TDConnect[playerid][6] = CreatePlayerTextDraw(playerid, 183.000000, 223.352996, "YourPassword");
PlayerTextDrawLetterSize(playerid, TDConnect[playerid][6], 0.400000, 1.600000);
PlayerTextDrawTextSize(playerid, TDConnect[playerid][6], 384.000000, 0.000000);
PlayerTextDrawAlignment(playerid, TDConnect[playerid][6], 1);
PlayerTextDrawColor(playerid, TDConnect[playerid][6], -1);
PlayerTextDrawUseBox(playerid, TDConnect[playerid][6], 1);
PlayerTextDrawBoxColor(playerid, TDConnect[playerid][6], -1500538369);
PlayerTextDrawSetShadow(playerid, TDConnect[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, TDConnect[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, TDConnect[playerid][6], 255);
PlayerTextDrawFont(playerid, TDConnect[playerid][6], 1);
PlayerTextDrawSetProportional(playerid, TDConnect[playerid][6], 1);
PlayerTextDrawSetShadow(playerid, TDConnect[playerid][6], 0);
PlayerTextDrawSetSelectable(playerid, TDConnect[playerid][6], true);
PlayerTextDrawShow(playerid, TDConnect[playerid][6]);
SelectTextDraw(playerid, 0xFF0000);