14.01.2015, 01:08
(
Last edited by vassilis; 14/01/2015 at 05:08 PM.
)
solved
Originally Posted by https://sampwiki.blast.hk/wiki/TextDrawTextSize
This function defines the clickable area for use with TextDrawSetSelectable, whether a box is shown or not.
|
190.0, 10.0
CarShop[4] = TextDrawCreate(70.666618, 178.702178, "Infernus");
TextDrawLetterSize(CarShop[4], 0.201111, 1.425777);
TextDrawAlignment(CarShop[4], 1);
TextDrawColor(CarShop[4], -1);
TextDrawUseBox(CarShop[4], 1); //Added
TextDrawTextSize(CarShop[4], 190.0, 17.0); //Added
TextDrawBoxColor(CarShop[4], 0xFFFFFF00); //Added
TextDrawSetShadow(CarShop[4], 0);
TextDrawSetOutline(CarShop[4], 1);
TextDrawBackgroundColor(CarShop[4], 51);
TextDrawFont(CarShop[4], 2);
TextDrawSetProportional(CarShop[4], 1);
TextDrawSetSelectable(CarShop[4], true);
TextDrawUseBox(CarShop[4], 1); //Added
TextDrawTextSize(CarShop[4], 190.0, 17.0); //Added
TextDrawBoxColor(CarShop[4], 0xFFFFFF00); //Added