Przejdź do głównej zawartości

PlayerTextDrawHide

Description

Hide a player-textdraw from the player it was created for

NameDescription
playeridThe ID of the player to hide the textdraw for
PlayerText:textidThe ID of the textdraw to hide

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 OPEN.MP server");

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

public OnPlayerSpawn(playerid)
{
PlayerTextDrawHide(playerid, welcomeText[playerid]);
return 1;
}