Scripting/Client/Functions/IsIn

True if the array contains the value.

Syntax

IsIn(value, array)

Arguments

Returns

bool

Example

function onScriptLoad()
{
	local result = IsIn( true, true );
	MessagePlayer( "IsIn returned: " + result, player );
}

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

Section: Utility

Categories: Client functions | Utility