10.05.2015, 14:57
(
Последний раз редактировалось JR_Junior; 10.05.2015 в 17:26.
)
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!
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);