PlayerTextDrawSetOutline

From SA-MP Wiki

Jump to: navigation, search


PlayerTextDrawSetOutline was added in SA-MP 0.3e This feature (player-textdraws) was added in SA-MP 0.3e and will not work in earlier versions!


Description:

Set the outline of a player-textdraw. The outline colour cannot be changed unless PlayerTextDrawBackgroundColor is used.


Parameters:
(playerid, PlayerText:text, size)
playeridThe ID of the player whose player-textdraw to set the outline of
textThe ID of the player-textdraw to set the outline of
sizeThe thickness of the outline.


Return Values:

This function does not return any specific values.


Example Usage:

MyTextDraw = CreatePlayerTextDraw(playerid, 100.0, 33.0,"Example TextDraw");
PlayerTextDrawSetOutline(playerid, MyTextDraw, 1);

Related Functions

The following functions may be useful, as they are related to this function in one way or another.