TextDrawHideForPlayer

Description

Hides a textdraw for a specific player.

NameDescription
playeridThe ID of the player that the textdraw should be hidden for
textThe ID of the textdraw to hide

Returns

This function does not return any specific values.

Examples

new Text: gMyTextdraw;
public OnGameModeInit()
{
gMyTextdraw = TextDrawCreate( ... );
return 1;
}
public OnGameModeExit()
{
TextDrawDestroy(gMyTextdraw);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, gMyTextdraw);
return 1;
}
public OnPlayerDeath(playerid, reason)
{
TextDrawHideForPlayer(playerid, gMyTextdraw);
return 1;
}

Related Functions