---
title: "UpdatePlayer3DTextLabelText | open.mp"
description: "Updates a player 3D Text Label's text and color."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/UpdatePlayer3DTextLabelText
language: th
---

# UpdatePlayer3DTextLabelText

## คำอธิบาย

Updates a player 3D Text Label's text and color

| Name | Description |
| --- | --- |
| playerid | The ID of the player for which the 3D Text Label was created. |
| PlayerText3D:textid | The 3D Text Label you want to update. |
| color | The color the 3D Text Label should have from now on. |
| text\[\] | The new text which the 3D Text Label should have from now on. |

## ส่งคืน

This function does not return any specific values.

## บันทึก

warning

If text\[\] is empty, the server/clients next to the text might crash! (Fixed in open.mp)

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

-   [Create3DTextLabel](https://omp.itsneufox.com/th/docs/scripting/functions/Create3DTextLabel): Create a 3D text label.
-   [Delete3DTextLabel](https://omp.itsneufox.com/th/docs/scripting/functions/Delete3DTextLabel): Delete 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.
-   [DeletePlayer3DTextLabel](https://omp.itsneufox.com/th/docs/scripting/functions/DeletePlayer3DTextLabel): Delete a player's 3D text label.
