Przejdź do głównej zawartości

PlayerTextDrawSetOutline

Description

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

NameDescription
playeridThe ID of the player whose player-textdraw to set the outline of
PlayerText:textidThe ID of the player-textdraw to set the outline of
outlineSizeThe thickness of the outline.

Returns

This function does not return any specific values.

Examples

new PlayerText:welcomeText[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
welcomeText[playerid] = CreatePlayerTextDraw(playerid, 320.0, 240.0, "Welcome to my server!");
PlayerTextDrawSetOutline(playerid, welcomeText[playerid], 1);

PlayerTextDrawShow(playerid, welcomeText[playerid]);
return 1;
}