AMX Mod X API Documentation

Signature
native bool:TrieIterGetArray(TrieIter:handle, any:array[], outputsize, &size = 0);
Description

Retrieves an array at the current position of the iterator.

Parameters
  • handle Iterator handle
  • buffer Buffer to store the array
  • outputsize Maximum size of buffer
  • size Optional parameter to store the number of bytes written to the buffer
Returns

True on success, false if the iterator is empty or the current

value is not an array.

Errors
  • Invalid handle

    Invalid buffer size

    Iterator has been closed (underlying map destroyed)

    Iterator is outdated

Назад
Верх