03.11.2018, 00:17
Can someone help me? I have a problem with Selectable Text Draw's, I searched a lot for the internet and in wiki's, I followed the tutorials, but I'm still facing the same problem.
My case is as follows, Text Draw was supposed to change color when the mouse cursor is on top of it, however it changes color when the mouse is in another position away from TXD, I tried to alter the PlayerTextDrawTextSize but I still can not make work
My declaration:
My TXD:
My case is as follows, Text Draw was supposed to change color when the mouse cursor is on top of it, however it changes color when the mouse is in another position away from TXD, I tried to alter the PlayerTextDrawTextSize but I still can not make work
My declaration:
pawn Code:
new PlayerText:MN_BotaoIR[MAX_PLAYERS];
pawn Code:
MN_BotaoIR[playerid] = CreatePlayerTextDraw(playerid, 375.500000, 238.933288, ">");
PlayerTextDrawLetterSize(playerid, MN_BotaoIR[playerid], 0.715499, 3.740442);
PlayerTextDrawAlignment(playerid, MN_BotaoIR[playerid], 1);
PlayerTextDrawColor(playerid, MN_BotaoIR[playerid], -1);
PlayerTextDrawSetShadow(playerid, MN_BotaoIR[playerid], 0);
PlayerTextDrawSetOutline(playerid, MN_BotaoIR[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, MN_BotaoIR[playerid], 51);
PlayerTextDrawFont(playerid, MN_BotaoIR[playerid], 1);
PlayerTextDrawSetProportional(playerid, MN_BotaoIR[playerid], 1);
PlayerTextDrawTextSize(playerid, MN_BotaoIR[playerid], 10.000000, 10.000000);
PlayerTextDrawSetSelectable(playerid, MN_BotaoIR[playerid], true);