---
title: "Get3DTextLabelColour | open.mp"
description: "رنگ 3D text label رو میگیره."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/Get3DTextLabelColour
language: fa
---

# Get3DTextLabelColour

هشدار

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

## توضیحات

رنگ 3D text label رو میگیره.

| نام | توضیحات |
| --- | --- |
| Text3D:textid | ID 3D text label که میخوایم رنگاش رو بگیریم. |

## برگشتی

رنگ 3D text label رو برمیگردونه.

## مثال‌ها

```c
new Text3D:gMyLabel;

gMyLabel = Create3DTextLabel("Hello World!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, false);

new colour = Get3DTextLabelColour(gMyLabel);
// colour = 0x008080FF
```

## توابع مرتبط

-   [GetPlayer3DTextLabelColour](https://omp.itsneufox.com/fa/docs/scripting/functions/GetPlayer3DTextLabelColour): گرفتن رنگ player 3D text label.
