Clickable TextDraw bug?
#1

SOLVED
The text size can not be 0.000000(In X or Y sizes)!
Example 1: PlayerTextDrawTextSize(playerid, TextTabletDesktop[playerid][10], 0.000000, 39.500000);//BUG
Example 2: PlayerTextDrawTextSize(playerid, TextTabletDesktop[playerid][10], 10.000000, 39.500000);//NICE

__________________________________________________ _______________
I need a little help ...
When I try to select a TexDraw, several are selected at the same time.
What is this?
See the images and code bellow...
Thanks!




pawn Код:
TextTabletDesktop[playerid][61] = CreatePlayerTextDraw(playerid, 229.500000, 277.111145, "Trophies");
PlayerTextDrawLetterSize(playerid, TextTabletDesktop[playerid][61], 0.173499, 0.778665);
PlayerTextDrawAlignment(playerid, TextTabletDesktop[playerid][61], 1);
PlayerTextDrawColor(playerid, TextTabletDesktop[playerid][61], -1);
PlayerTextDrawSetShadow(playerid, TextTabletDesktop[playerid][61], 0);
PlayerTextDrawSetOutline(playerid, TextTabletDesktop[playerid][61], 1);
PlayerTextDrawBackgroundColor(playerid, TextTabletDesktop[playerid][61], 255);
PlayerTextDrawFont(playerid, TextTabletDesktop[playerid][61], 1);
PlayerTextDrawSetProportional(playerid, TextTabletDesktop[playerid][61], 1);
PlayerTextDrawSetSelectable(playerid, TextTabletDesktop[playerid][61], true);

TextTabletDesktop[playerid][62] = CreatePlayerTextDraw(playerid, 258.500000, 277.111145, "Games");
PlayerTextDrawLetterSize(playerid, TextTabletDesktop[playerid][62], 0.173499, 0.778665);
PlayerTextDrawAlignment(playerid, TextTabletDesktop[playerid][62], 1);
PlayerTextDrawColor(playerid, TextTabletDesktop[playerid][62], -1);
PlayerTextDrawSetShadow(playerid, TextTabletDesktop[playerid][62], 0);
PlayerTextDrawSetOutline(playerid, TextTabletDesktop[playerid][62], 1);
PlayerTextDrawBackgroundColor(playerid, TextTabletDesktop[playerid][62], 255);
PlayerTextDrawFont(playerid, TextTabletDesktop[playerid][62], 1);
PlayerTextDrawSetProportional(playerid, TextTabletDesktop[playerid][62], 1);
PlayerTextDrawSetSelectable(playerid, TextTabletDesktop[playerid][62], true);
pawn Код:
for(new i; i < 63; i++)
{
    PlayerTextDrawShow(playerid, TextTabletDesktop[playerid][i]);
}
SelectTextDraw(playerid, 0xAFAFAF77);
Reply


Messages In This Thread
[SOLVED] Clickable TextDraw bug? - by JR_Junior - 10.05.2015, 14:57
Re: Clickable TextDraw bug? - by Pottus - 10.05.2015, 14:58
Re: Clickable TextDraw bug? - by JR_Junior - 10.05.2015, 15:02
Re: Clickable TextDraw bug? - by JR_Junior - 10.05.2015, 15:49
Re: Clickable TextDraw bug? - by ExTaZZ69 - 10.05.2015, 15:57
Re: Clickable TextDraw bug? - by JR_Junior - 10.05.2015, 16:52
Re: Clickable TextDraw bug? - by JR_Junior - 10.05.2015, 17:12
Re: Clickable TextDraw bug? - by ExTaZZ69 - 10.05.2015, 19:16
Re: Clickable TextDraw bug? - by Hayden_Almeida - 16.12.2015, 02:39

Forum Jump:


Users browsing this thread: 3 Guest(s)