09.09.2012, 18:38
Hello, I'm working on a funiture system for my house system.
I have this buy page or and everything works except one button.
I know why it doesn't work, but i don't know how to fix it.
Here you have a picture:
http://epic-play.com/bug.png
And here are the textdraws:
It seems that the select area's of those buttons are bigger then the white box is.
All my other buttons doesn't have this problem.
Anyone knows how to fix it?
Thanks...
I have this buy page or and everything works except one button.
I know why it doesn't work, but i don't know how to fix it.
Here you have a picture:
http://epic-play.com/bug.png
And here are the textdraws:
Код:
FUN_CLICK_Bedroom = TextDrawCreate(68.000000, 159.000000, "BEDROOM"); TextDrawAlignment(FUN_CLICK_Bedroom, 2); TextDrawBackgroundColor(FUN_CLICK_Bedroom, 255); TextDrawFont(FUN_CLICK_Bedroom, 1); TextDrawLetterSize(FUN_CLICK_Bedroom, 0.400000, 1.000000); TextDrawColor(FUN_CLICK_Bedroom, 255); TextDrawSetOutline(FUN_CLICK_Bedroom, 0); TextDrawSetProportional(FUN_CLICK_Bedroom, 1); TextDrawSetShadow(FUN_CLICK_Bedroom, 0); TextDrawUseBox(FUN_CLICK_Bedroom, 1); TextDrawBoxColor(FUN_CLICK_Bedroom, -1); TextDrawTextSize(FUN_CLICK_Bedroom, 20.000000, 110.000000); TextDrawSetSelectable(FUN_CLICK_Bedroom, 1); FUN_CLICK_Kitchen = TextDrawCreate(68.000000, 143.000000, "KITCHEN"); TextDrawAlignment(FUN_CLICK_Kitchen, 2); TextDrawBackgroundColor(FUN_CLICK_Kitchen, 255); TextDrawFont(FUN_CLICK_Kitchen, 1); TextDrawLetterSize(FUN_CLICK_Kitchen, 0.400000, 1.000000); TextDrawColor(FUN_CLICK_Kitchen, 255); TextDrawSetOutline(FUN_CLICK_Kitchen, 0); TextDrawSetProportional(FUN_CLICK_Kitchen, 1); TextDrawSetShadow(FUN_CLICK_Kitchen, 0); TextDrawUseBox(FUN_CLICK_Kitchen, 1); TextDrawBoxColor(FUN_CLICK_Kitchen, -1); TextDrawTextSize(FUN_CLICK_Kitchen, 20.000000, 110.000000); TextDrawSetSelectable(FUN_CLICK_Tables, 1); FUN_CLICK_Tables = TextDrawCreate(68.000000, 127.000000, "TABLES"); TextDrawAlignment(FUN_CLICK_Tables, 2); TextDrawBackgroundColor(FUN_CLICK_Tables, 255); TextDrawFont(FUN_CLICK_Tables, 1); TextDrawLetterSize(FUN_CLICK_Tables, 0.400000, 1.000000); TextDrawColor(FUN_CLICK_Tables, 255); TextDrawSetOutline(FUN_CLICK_Tables, 0); TextDrawSetProportional(FUN_CLICK_Tables, 1); TextDrawSetShadow(FUN_CLICK_Tables, 0); TextDrawUseBox(FUN_CLICK_Tables, 1); TextDrawBoxColor(FUN_CLICK_Tables, -1); TextDrawTextSize(FUN_CLICK_Tables, 20.000000, 110.000000); TextDrawSetSelectable(FUN_CLICK_Tables, 1);
All my other buttons doesn't have this problem.
Anyone knows how to fix it?
Thanks...