---
title: "Delete3DTextLabel | open.mp"
description: "Delete a 3D text label (created with Create3DTextLabel)."
canonical: https://omp.itsneufox.com/vi/docs/scripting/functions/Delete3DTextLabel
language: vi
---

# Delete3DTextLabel

## Description

Delete a 3D text label (created with Create3DTextLabel).

| Name | Description |
| --- | --- |
| Text3D:textid | The ID of the 3D text label to delete. |

## Returns

**true** if the 3D text label was deleted, otherwise **false**.

## Examples

```c
new Text3D:gMyLabel;

public OnGameModeInit()
{
    gMyLabel = Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, false);
    return 1;
}

// Later
Delete3DTextLabel(gMyLabel);
```

## Related Functions

-   [Create3DTextLabel](https://omp.itsneufox.com/vi/docs/scripting/functions/Create3DTextLabel): Create a 3D text label.
-   [IsValid3DTextLabel](https://omp.itsneufox.com/vi/docs/scripting/functions/IsValid3DTextLabel): Checks if a 3D text label is valid.
-   [Is3DTextLabelStreamedIn](https://omp.itsneufox.com/vi/docs/scripting/functions/Is3DTextLabelStreamedIn): Checks if a 3D text label is streamed in for a player.
-   [Attach3DTextLabelToPlayer](https://omp.itsneufox.com/vi/docs/scripting/functions/Attach3DTextLabelToPlayer): Attach a 3D text label to a player.
-   [Attach3DTextLabelToVehicle](https://omp.itsneufox.com/vi/docs/scripting/functions/Attach3DTextLabelToVehicle): Attach a 3D text label to a vehicle.
-   [Update3DTextLabelText](https://omp.itsneufox.com/vi/docs/scripting/functions/Update3DTextLabelText): Change the text of a 3D text label.
-   [CreatePlayer3DTextLabel](https://omp.itsneufox.com/vi/docs/scripting/functions/CreatePlayer3DTextLabel): Create A 3D text label for one player.
-   [DeletePlayer3DTextLabel](https://omp.itsneufox.com/vi/docs/scripting/functions/DeletePlayer3DTextLabel): Delete a player's 3D text label.
-   [UpdatePlayer3DTextLabelText](https://omp.itsneufox.com/vi/docs/scripting/functions/UpdatePlayer3DTextLabelText): Change the text of a player's 3D text label.
