---
title: "GangZoneGetColourForPlayer | open.mp"
description: "Get the colour of a gangzone for player"
canonical: https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneGetColourForPlayer
language: hu
---

# GangZoneGetColourForPlayer

vigyázat

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

## Description

Get the colour of a gangzone for player.

| Name | Description |
| --- | --- |
| playerid | The ID of the player you need to get. |
| zoneid | The ID of the gangzone. |

## Returns

Colour of gangzone for player.

**0:** Failed to execute the function. The gangzone is not shown for the player.

## Related Functions

-   [GangZoneDestroy](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneDestroy): Destroy a gangzone.
-   [GangZoneShowForPlayer](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneShowForPlayer): Show a gangzone for a player.
-   [GangZoneShowForAll](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneShowForAll): Show a gangzone for all players.
-   [GangZoneHideForPlayer](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneHideForPlayer): Hide a gangzone for a player.
-   [GangZoneHideForAll](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneHideForAll): Hide a gangzone for all players.
-   [GangZoneFlashForPlayer](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneFlashForPlayer): Make a gangzone flash for a player.
-   [GangZoneFlashForAll](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneFlashForAll): Make a gangzone flash for all players.
-   [GangZoneStopFlashForPlayer](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneStopFlashForPlayer): Stop a gangzone flashing for a player.
-   [GangZoneStopFlashForAll](https://omp.itsneufox.com/hu/docs/scripting/functions/GangZoneStopFlashForAll): Stop a gangzone flashing for all players.
-   [IsValidGangZone](https://omp.itsneufox.com/hu/docs/scripting/functions/IsValidGangZone): Check if the gangzone valid.
-   [IsPlayerInGangZone](https://omp.itsneufox.com/hu/docs/scripting/functions/IsPlayerInGangZone): Check if the player in gangzone.
-   [IsGangZoneVisibleForPlayer](https://omp.itsneufox.com/hu/docs/scripting/functions/IsGangZoneVisibleForPlayer): Check if the gangzone is visible for player.
