AMX Mod X API Documentation

Signature
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
Returns

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

Errors
  • If an invalid handle is provided an error will be

    thrown.

Назад
Верх