跳到主要内容

GangZoneFlashForAll

描述

为所有玩家闪烁显示帮派区域。

参数名说明
zoneid要闪烁的区域 ID
flashColour闪烁颜色(RGBA 格式的整型或十六进制值,支持透明度通道)

返回值

该函数没有返回值。

示例

new gGangZoneId;

public OnGameModeInit()
{
gGangZoneId = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
return 1;
}

public OnPlayerDeath(playerid, killerid, WEAPON:reason)
{
GangZoneFlashForAll(gGangZoneId, 0xFF0000FF); // 红色
return 1;
}

相关函数