---
title: "DeletePlayer3DTextLabel | open.mp"
description: "Destroy a 3D text label that was created using CreatePlayer3DTextLabel."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/DeletePlayer3DTextLabel
language: th
---

# DeletePlayer3DTextLabel

## คำอธิบาย

Destroy a 3D text label that was created using CreatePlayer3DTextLabel.

| Name | Description |
| --- | --- |
| playerid | The ID of the player whose 3D text label to delete. |
| PlayerText3D:textid | The ID of the player's 3D text label to delete. |

## ส่งคืน

1: The function executed successfully.

0: The function failed to execute. This means the label specified doesn't exist.

## ตัวอย่าง

```c
new PlayerText3D:labelid = CreatePlayer3DTextLabel(...);

// Later...
DeletePlayer3DTextLabel(playerid, labelid);
```

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

-   [Create3DTextLabel](https://omp.itsneufox.com/th/docs/scripting/functions/Create3DTextLabel): Create a 3D text label.
-   [Attach3DTextLabelToPlayer](https://omp.itsneufox.com/th/docs/scripting/functions/Attach3DTextLabelToPlayer): Attach a 3D text label to a player.
-   [Attach3DTextLabelToVehicle](https://omp.itsneufox.com/th/docs/scripting/functions/Attach3DTextLabelToVehicle): Attach a 3D text label to a vehicle.
-   [Update3DTextLabelText](https://omp.itsneufox.com/th/docs/scripting/functions/Update3DTextLabelText): Change the text of a 3D text label.
-   [CreatePlayer3DTextLabel](https://omp.itsneufox.com/th/docs/scripting/functions/CreatePlayer3DTextLabel): Create A 3D text label for one player.
-   [UpdatePlayer3DTextLabelText](https://omp.itsneufox.com/th/docs/scripting/functions/UpdatePlayer3DTextLabelText): Change the text of a player's 3D text label.
