note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
IsPlayerInGangZone
warning
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
warning
This function is for open.mp, not SA-MP. To use with SA-MP, you need the YSF plugin.
warning
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.