![]() ![]() TextDrawSetOutline: Choose whether the text has an outline.TextDrawTextSize: Set the size of a textdraw box.TextDrawLetterSize: Set the letter size of the text in a textdraw.TextDrawFont: Set the font of a textdraw.TextDrawAlignment: Set the alignment of a textdraw.TextDrawBackgroundColor: Set the background color of a textdraw.TextDrawBoxColor: Set the color of the box in a textdraw.TextDrawColor: Set the color of the text in a textdraw.Keyboard key mapping codes (such as ~k~~VEHICLE_ENTER_EXIT~ don't work beyond 255th character. TextDrawShowForPlayer(playerid, gMyTextdraw) This is used to show the player the textdraw when they connect. GMyTextdraw = TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server") Note: This creates a textdraw without any formatting. This line is used to create the textdraw. so that we can use it throught the script Examples // This variable is used to store the id of the textdraw The text that will appear in the textdraw. The Y (up/down) coordinate to create the textdraw at. The X (left/right) coordinate to create the textdraw at. See this page for extensive information about textdraws. Textdraws are, as the name implies, text (mainly - there can be boxes, sprites and model previews (skins/vehicles/weapons/objects too) that is drawn on a player's screens. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |