---
title: "Set3DTextLabelLOS | open.mp"
description: "line-of-sight ای 3D text label رو تنظیم می‌کنه."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/Set3DTextLabelLOS
language: fa
---

# Set3DTextLabelLOS

هشدار

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

## توضیحات

line-of-sight ای 3D text label رو تنظیم می‌کنه.

| نام | توضیحات |
| --- | --- |
| Text3D:textid | ID ای از 3D text label برای تنظیم line-of-sight. |
| bool:enable | (false/true) تست line-of-sight تا این متن نتونه از پشت اجسام دیده بشه |

## مثال‌ها

```c
new Text3D:gMyLabel;

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

Set3DTextLabelLOS(gMyLabel, false);
// The line-of-sight changed from 'true' to 'false'
```

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

-   [Get3DTextLabelLOS](https://omp.itsneufox.com/fa/docs/scripting/functions/Get3DTextLabelLOS): گرفتن line-of-sight ای 3D text label.
-   [SetPlayer3DTextLabelLOS](https://omp.itsneufox.com/fa/docs/scripting/functions/SetPlayer3DTextLabelLOS): تنظیم line-of-sight ای player 3D text label.
