Scripting/Server/Functions/GangZoneHideForPlayer

Hides the zone again (also ends its flashing).

Syntax

GangZoneHideForPlayer(player, zone)
GangZoneHideForAll(zone)

Arguments

Returns

bool

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "gangzonehideforplayer" )
	{
		local result = GangZoneHideForPlayer( player, 0 );
		MessagePlayer( "GangZoneHideForPlayer 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