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

# GangZoneFlashForAll

## توضیحات

یه gangzone رو برای همه بازیکن‌ها چشمک می‌زنه.

| نام | توضیحات |
| --- | --- |
| zoneid | zone ای که باید چشمک بزنه. |
| flashColour | رنگی که gang zone باهاش چشمک میزنه، به صورت integer یا hex در فرمت رنگی RGBA. Alpha transparency پشتیبانی میشه. |

## برگشتی

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

## مثال‌ها

```c
new gGangZoneId;

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

public OnPlayerDeath(playerid, killerid, WEAPON:reason)
{
    GangZoneFlashForAll(gGangZoneId, 0xFF0000FF); // قرمز
    return 1;
}
```

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

-   [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 برای یه بازیکن.
-   [GangZoneHideForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneHideForAll): مخفی کردن یه gangzone برای همه بازیکن‌ها.
-   [GangZoneFlashForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneFlashForPlayer): چشمک زدن یه gangzone برای یه بازیکن.
-   [GangZoneStopFlashForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneStopFlashForPlayer): متوقف کردن چشمک زدن gangzone برای یه بازیکن.
-   [GangZoneStopFlashForAll](https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneStopFlashForAll): متوقف کردن چشمک زدن gangzone برای همه بازیکن‌ها.
