---
title: "TextDrawHideForAll | open.mp"
description: "Hides a text draw for all players."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/TextDrawHideForAll
language: th
---

# TextDrawHideForAll

## คำอธิบาย

Hides a text draw for all players.

| Name | Description |
| --- | --- |
| text | The ID of the textdraw to hide (returned by TextDrawCreate). |

## ส่งคืน

This function does not return any specific values.

## ตัวอย่าง

```c
new TextID;

TextID = TextDrawCreate(...);

//Later on
TextDrawShowForAll(TextID);

//Even later on
TextDrawHideForAll(TextID);
```

## ฟังก์ชั่นที่เกี่ยวข้องกัน

-   [TextDrawShowForPlayer](https://omp.itsneufox.com/th/docs/scripting/functions/TextDrawShowForPlayer): Show a textdraw for a certain player.
-   [TextDrawHideForPlayer](https://omp.itsneufox.com/th/docs/scripting/functions/TextDrawHideForPlayer): Hide a textdraw for a certain player.
-   [TextDrawShowForAll](https://omp.itsneufox.com/th/docs/scripting/functions/TextDrawShowForAll): Show a textdraw for all players.
