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

# HideGameTextForPlayer

هشدار

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

## توضیحات

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

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

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

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

## مثال‌ها

```c
public OnPlayerDeath(playerid, killerid, WEAPON:reason)
{
    HideGameTextForPlayer(playerid, 3);
    return 1;
}
```

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

-   [HideGameTextForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/HideGameTextForAll): متوقف کردن نمایش یه استایل gametext برای همه بازیکنان.
-   [GameTextForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GameTextForPlayer): نمایش gametext به یه بازیکن.
-   [GameTextForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/GameTextForAll): نمایش gametext به همه بازیکنان.
-   [GetGameText](https://omp.itsneufox.com/fa/docs/scripting/functions/GetGameText): دریافت همه اطلاعات در مورد استایل game text داده شده.
-   [HasGameText](https://omp.itsneufox.com/fa/docs/scripting/functions/HasGameText): آیا بازیکن در حال حاضر متن در استایل gametext داده شده نمایش داره؟
-   [TextDrawHideForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/TextDrawHideForAll): مخفی کردن textdraw برای همه بازیکنان.
