Scripting/Server/Functions/GangZoneFlashForPlayer

The zone alternates between its colour and flashColour about every third of a second while it is shown (a flash set on a hidden zone starts when you show it).

Syntax

GangZoneFlashForPlayer(player, zone, flashColour)
GangZoneFlashForAll(zone, flashColour)

Arguments

Returns

bool

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "gangzoneflashforplayer" )
	{
		local result = GangZoneFlashForPlayer( player, 0, 0 );
		MessagePlayer( "GangZoneFlashForPlayer returned: " + result, player );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Creating world entities

Categories: Server functions | Creating world entities