warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
GangZoneDestroy
Description
Destroy a gangzone.
Name | Description |
---|---|
zoneid | The ID of the zone to destroy. |
Returns
1: The function executed successfully.
0: The function failed to execute. The gangzone with the ID specified does not exist.
Examples
new gangZone;
public OnGameModeInit()
{
gangZone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
return 1;
}
public OnGameModeExit()
{
GangZoneDestroy(gangZone);
return 1;
}
Related Functions
- GangZoneCreate: Create 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.