---
title: "GetPlayer3DTextLabelPos | open.mp"
description: "موقعیت یک 3D text label بازیکن رو می‌گیره."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/GetPlayer3DTextLabelPos
language: fa
---

# GetPlayer3DTextLabelPos

هشدار

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

## توضیحات

موقعیت یک 3D text label بازیکن رو می‌گیره.

| اسم | توضیح |
| --- | --- |
| playerid | شناسه بازیکن. |
| PlayerText3D:textid | شناسه 3D text label بازیکن که می‌خوای موقعیتش رو بگیری. |
| &Float:x | متغیر float که مختصات X توش ذخیره میشه، با reference پاس داده میشه. |
| &Float:y | متغیر float که مختصات Y توش ذخیره میشه، با reference پاس داده میشه. |
| &Float:z | متغیر float که مختصات Z توش ذخیره میشه، با reference پاس داده میشه. |

## مثال‌ها

```c
new PlayerText3D:playerTextId;
new Float:playerX, Float:playerY, Float:playerZ;

GetPlayerPos(playerid, playerX, playerY, playerZ);
playerTextId = CreatePlayer3DTextLabel(playerid, "Hello\nI'm at your position", 0x008080FF, playerX, playerY, playerZ, 40.0);

new Float:x, Float:y, Float:z;
GetPlayer3DTextLabelPos(playerid, playerTextId, x, y, z);
```

## تابع‌های مرتبط

-   [Get3DTextLabelPos](https://omp.itsneufox.com/fa/docs/scripting/functions/Get3DTextLabelPos): گرفتن موقعیت 3D text label.
