---
title: "GangZoneGetColourForPlayer | open.mp"
description: "گرفتن رنگ یه gangzone برای بازیکن"
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/GangZoneGetColourForPlayer
language: fa
---

# GangZoneGetColourForPlayer

هشدار

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

## توضیحات

گرفتن رنگ یه gangzone برای بازیکن.

| نام | توضیحات |
| --- | --- |
| playerid | ID بازیکنی که میخوایم بگیریم. |
| zoneid | ID گnگ‌زون. |

## برگشتی

رنگ gangzone برای بازیکن.

**0:** اجرای تابع ناموفق بود. 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 برای یه بازیکن.
-   [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 برای همه بازیکن‌ها.
-   [IsValidGangZone](https://omp.itsneufox.com/fa/docs/scripting/functions/IsValidGangZone): چک کردن که gangzone معتبر هست یا نه.
-   [IsPlayerInGangZone](https://omp.itsneufox.com/fa/docs/scripting/functions/IsPlayerInGangZone): چک کردن که بازیکن توی gangzone هست یا نه.
-   [IsGangZoneVisibleForPlayer](https://omp.itsneufox.com/fa/docs/scripting/functions/IsGangZoneVisibleForPlayer): چک کردن که gangzone برای بازیکن قابل دیدن هست یا نه.
