---
title: "Update3DTextLabelText | open.mp"
description: "Ažurira text i boju 3D Text Labela."
canonical: https://omp.itsneufox.com/bs/docs/scripting/functions/Update3DTextLabelText
language: bs
---

# Update3DTextLabelText

## Deskripcija

Ažurira text i boju 3D Text Labela.

| Ime | Deskripcija |
| --- | --- |
| Text3D:textid | 3D Text Label kojeg želite ažurirati. |
| color | Boja 3D Text Labela kojeg će od sada imati. |
| text\[\] | Novi text kojeg će 3D Text Label od sada imati. |

## Returns

Ova funkcija ne returna (vraća) nikakve posebne vrijednosti.

## Primjeri

```c
public OnGameModeInit()
{
    new Text3D: mylabel;
    mylabel = Create3DTextLabel("Ja sam na kordinatama:\n30.0,40.0,50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Update3DTextLabelText(mylabel, 0xFFFFFFFF, "New text.");
    return 1;
}
```

## Zabilješke

warning

Ako je text\[\] prazan, server/client-i pored texta će možda crashovati.

## Srodne Funkcije

-   [Create3DTextLabel](https://omp.itsneufox.com/bs/docs/scripting/functions/Create3DTextLabel): Kreiraj 3D text label.
-   [Delete3DTextLabel](https://omp.itsneufox.com/bs/docs/scripting/functions/Delete3DTextLabel): Obriši 3D text label.
-   [Attach3DTextLabelToPlayer](https://omp.itsneufox.com/bs/docs/scripting/functions/Attach3DTextLabelToPlayer): Prikvači 3D text label za igrača.
-   [Attach3DTextLabelToVehicle](https://omp.itsneufox.com/bs/docs/scripting/functions/Attach3DTextLabelToVehicle): Prikvači 3D text label za vozilo.
-   [CreatePlayer3DTextLabel](https://omp.itsneufox.com/bs/docs/scripting/functions/CreatePlayer3DTextLabel): Kreiraj 3D text label za jednog igrača.
-   [DeletePlayer3DTextLabel](https://omp.itsneufox.com/bs/docs/scripting/functions/DeletePlayer3DTextLabel): Obriši igračev 3D text label.
-   [UpdatePlayer3DTextLabelText](https://omp.itsneufox.com/bs/docs/scripting/functions/UpdatePlayer3DTextLabelText): Promijeni tekst igračevog 3D text labela.
