Scripting/Client/Functions/IsIn
True if the array contains the value.
Syntax
IsIn(value, array)Arguments
- bool value
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.
Related pages
- Vector
- Colour
- VectorScreen
- GetDistance
- GetTok
- InPoly
- GetTime
- date
- GetVehicleModel
- GetVehicleName
- NewTimer
- HashTable
Section: Utility
Categories: Client functions | Utility