---
title: "HideGameTextForAll | open.mp"
description: "متوقف کردن نمایش یه استایل gametext برای همه بازیکنان."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/HideGameTextForAll
language: fa
---

# HideGameTextForAll

هشدار

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

## توضیحات

متوقف کردن نمایش یه استایل gametext برای همه بازیکنان.

| نام | توضیحات |
| --- | --- |
| style | [استایل](https://omp.itsneufox.com/fa/docs/scripting/resources/gametextstyles) متنی که باید مخفی بشه. |

## مقادیر برگشتی

این تابع هیچ مقدار خاصی برنمی‌گردونه.

## مثال‌ها

```c
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp(cmdtext, "/hidegametext3", true))
    {
        if (!IsPlayerAdmin(playerid))
        {
            return 1;
        }

        HideGameTextForAll(3);
        return 1;
    }
    return 0;
}
```

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

-   [HideGameTextForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/HideGameTextForPlayer): متوقف کردن نمایش یه استایل gametext به بازیکن.
-   [GameTextForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GameTextForPlayer): نمایش gametext به یه بازیکن.
-   [GameTextForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/GameTextForAll): نمایش gametext به همه بازیکنان.
-   [TextDrawHideForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/TextDrawHideForAll): مخفی کردن textdraw برای همه بازیکنان.
