跳至主要内容

GangZoneStopFlashForPlayer

Description

Stops a gangzone flashing for a player.

NameDescription
playeridThe ID of the player to stop the gangzone flashing for.
zoneidThe ID of the gangzonezone to stop flashing.

Returns

This function does not return any specific values.

Examples

new gGangZoneId;

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

public OnPlayerSpawn(playerid)
{
GangZoneFlashForPlayer(playerid, gGangZoneId, 0xFF0000FF);
return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid)
{
GangZoneStopFlashForPlayer(playerid, gGangZoneId);
return 1;
}