ArrayFindValue

Синтаксис

native ArrayFindValue(Array:which, any:item);

Употреба

which
Array handle
item
Value to search for

Описание

Searches through the array and returns the index of the first occurence of
the specified value.

Връщаща стойност

Array index on success, -1 if the value can't be found

Грешка

If an invalid handle is provided an error will be
thrown.