native
ArrayFindValue
Syntax
native ArrayFindValue(Array:which, any:item);
Description
Searches through the array and returns the index of the first occurence of
the specified value.
Parameters
| which | Array handle |
|---|---|
| item | Value to search for |
Return
Array index on success, -1 if the value can't be found
Error
If an invalid handle is provided an error will be
thrown.