GangZoneDestroy
描述
销毁帮派区域。
参数名 | 说明 |
---|---|
zoneid | 要销毁的区域 ID |
返回值
1:函数执行成功。
0:函数执行失败。指定的帮派区域 ID 不存在。
示例
new gangZone;
public OnGameModeInit()
{
gangZone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
return 1;
}
public OnGameModeExit()
{
GangZoneDestroy(gangZone);
return 1;
}
相关函数
- GangZoneCreate: 创建帮派区域
- GangZoneShowForPlayer: 为玩家显示帮派区域
- GangZoneShowForAll: 为所有玩家显示帮派区域
- GangZoneHideForPlayer: 为玩家隐藏帮派区域
- GangZoneHideForAll: 为所有玩家隐藏帮派区域
- GangZoneFlashForPlayer: 使帮派区域对玩家闪烁
- GangZoneFlashForAll: 使帮派区域对所有玩家闪烁
- GangZoneStopFlashForPlayer: 停止帮派区域对玩家闪烁
- GangZoneStopFlashForAll: 停止帮派区域对所有玩家闪烁