---
title: "SetPlayer3DTextLabelVirtualWorld | open.mp"
description: "virtual world id مربوط به 3D text label پلیر رو تنظیم می‌کنه."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/SetPlayer3DTextLabelVirtualWorld
language: fa
---

# SetPlayer3DTextLabelVirtualWorld

هشدار

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

## توضیحات

virtual world id مربوط به 3D text label پلیر رو تنظیم می‌کنه.

| نام | توضیحات |
| --- | --- |
| playerid | آیدی پلیر |
| PlayerText3D:textid | آیدی 3D text label پلیر که virtual world اون رو می‌خوایم تنظیم کنیم |
| virtualWorld | virtual world که توش می‌تونی 3D Text رو ببینی |

## مثال‌ها

```c
new PlayerText3D:playerTextId;
new Float:X, Float:Y, Float:Z;

GetPlayerPos(playerid, X, Y, Z);
playerTextId = CreatePlayer3DTextLabel(playerid, "Hello\nI'm at your position", 0x008080FF, X, Y, Z, 40.0);

SetPlayer3DTextLabelVirtualWorld(playerid, playerTextId, 60);
```

## نکات

هشدار

برای player 3D text label ها virtual world پشتیبانی نشده. این تابع هیچ کاری نمی‌کنه و اصلاً کار نمی‌کنه!

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

-   [GetPlayer3DTextLabelVirtualWorld](https://omp.itsneufox.com/fa/docs/scripting/functions/GetPlayer3DTextLabelVirtualWorld): virtual world id مربوط به 3D text label پلیر رو دریافت می‌کنه.
-   [Set3DTextLabelVirtualWorld](https://omp.itsneufox.com/fa/docs/scripting/functions/Set3DTextLabelVirtualWorld): virtual world id مربوط به 3D text label رو تنظیم می‌کنه.
