---
title: "GangZoneHideForAll | open.mp"
description: "GangZoneHideForAll یه gangzone رو از همه بازیکن‌ها مخفی میکنه."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneHideForAll
language: fa
---

# GangZoneHideForAll

## توضیحات

GangZoneHideForAll یه gangzone رو از همه بازیکن‌ها مخفی میکنه.

| نام | توضیحات |
| --- | --- |
| zoneid | zone ای که باید مخفی بشه. |

## برگشتی

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

## مثال‌ها

```c
new gGangZoneId;

public OnGameModeInit()
{
    gGangZoneId = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp(cmdtext, "/hidezone", true))
    {
        GangZoneHideForAll(gGangZoneId);
        return 1;
    }
    return 0;
}
```

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

-   [GangZoneCreate](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneCreate): ساختن یه gangzone.
-   [GangZoneDestroy](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneDestroy): حذف یه gangzone.
-   [GangZoneShowForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneShowForPlayer): نشون دادن یه gangzone به یه بازیکن.
-   [GangZoneShowForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneShowForAll): نشون دادن یه gangzone به همه بازیکن‌ها.
-   [GangZoneHideForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneHideForPlayer): مخفی کردن یه gangzone برای یه بازیکن.
-   [GangZoneFlashForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneFlashForPlayer): چشمک زدن یه gangzone برای یه بازیکن.
-   [GangZoneFlashForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneFlashForAll): چشمک زدن یه gangzone برای همه بازیکن‌ها.
-   [GangZoneStopFlashForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneStopFlashForPlayer): متوقف کردن چشمک زدن gangzone برای یه بازیکن.
-   [GangZoneStopFlashForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneStopFlashForAll): متوقف کردن چشمک زدن gangzone برای همه بازیکن‌ها.
