TextDrawUseBox

From SA-MP Wiki

Jump to: navigation, search

TextDrawUseBox


Toggle whether a textdraw uses a box.


Parameters:
(Text:text, use)
textThe textdraw to toggle the box on.
use1 to show a box or 0 to not show a box


This function does not return a specific value.


MyTD = TextDrawCreate(40.0, 140.0,"_~N~Example text!~N~_");
TextDrawUseBox(MyTD , 1);
TextDrawFont(MyTD , 1);
TextDrawLetterSize(MyTD ,0.3,1);
TextDrawSetShadow(MyTD ,1);
TextDrawSetOutline(MyTD ,1);
TextDrawBackgroundColor(MyTD ,0x000000FF);
TextDrawBoxColor(MyTD ,0x00000066);
TextDrawColor(MyTD ,0x000000FF);
TextDrawTextSize(MyTD , 200.0, 200.0);

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Personal tools