IsPlayerInGangZone
atenção
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Check if the player in gangzone.
Name | Description |
---|---|
playerid | The ID of the player to check if he is in a gangzone. |
zoneid | The ID of the gangzone. |
Returns
true - The player is in gangzone.
false - The player is not in gangzone.
Notes
atenção
This function is for open.mp, not SA-MP. To use with SA-MP, you need the YSF plugin.
atenção
This function cannot be used without UseGangZoneCheck being called first.
Related Functions
- GangZoneDestroy: Destroy a gangzone.
- GangZoneShowForPlayer: Show a gangzone for a player.
- GangZoneShowForAll: Show a gangzone for all players.
- GangZoneHideForPlayer: Hide a gangzone for a player.
- GangZoneHideForAll: Hide a gangzone for all players.
- GangZoneFlashForPlayer: Make a gangzone flash for a player.
- GangZoneFlashForAll: Make a gangzone flash for all players.
- GangZoneStopFlashForPlayer: Stop a gangzone flashing for a player.
- GangZoneStopFlashForAll: Stop a gangzone flashing for all players.
- IsValidGangZone: Check if the gangzone valid.