---
title: "TextDrawShowForPlayer | open.mp"
description: "Shows a textdraw for a specific player."
canonical: https://omp.itsneufox.com/docs/scripting/functions/TextDrawShowForPlayer
language: en
---

# TextDrawShowForPlayer

## Description

Shows a textdraw for a specific player.

| Name | Description |
| --- | --- |
| playerid | The ID of the player to show the textdraw for. |
| Text:textid | The ID of the textdraw to show.  
Returned by [TextDrawCreate](https://omp.itsneufox.com/docs/scripting/functions/TextDrawCreate). |

## Returns

**true** - The function executed successfully.

**false** - The function failed to execute. This means either the player and/or textdraw specified does not exist.

## Examples

```c
new Text:gMyTextdraw;

public OnGameModeInit()
{
    gMyTextdraw = TextDrawCreate(100.0, 100.0, "Welcome!");
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, gMyTextdraw);
    return 1;
}
```

## Notes

tip

If only a single player will see a textdraw, it might be wise to use player-textdraws instead. This is also useful for textdraws that need to show information specific for an individual player.

## Related Functions

-   [TextDrawHideForPlayer](https://omp.itsneufox.com/docs/scripting/functions/TextDrawHideForPlayer): Hide a textdraw for a certain player.
-   [TextDrawShowForAll](https://omp.itsneufox.com/docs/scripting/functions/TextDrawShowForAll): Show a textdraw for all players.
-   [TextDrawHideForAll](https://omp.itsneufox.com/docs/scripting/functions/TextDrawHideForAll): Hide a textdraw for all players.
-   [IsTextDrawVisibleForPlayer](https://omp.itsneufox.com/docs/scripting/functions/IsTextDrawVisibleForPlayer): Checks if a textdraw is shown for a player.
