ArrayFindString
Syntax
native ArrayFindString(Array:which, const item[]);
Usage
| Parameter | Description |
|---|---|
| which | Array handle |
| item | String to search for |
Description
Searches through the array and returns the index of the first occurence of the specified string.
Return
Array index on success, -1 if the string can't be found
Error
Invalid handle.