AMX Mod X API Documentation

Signature
native TrieSnapshotGetKey(Snapshot:handle, index, buffer[], maxlength);
Description

Retrieves the key string of a given key in a map snapshot.

Parameters
  • handle Map snapshot handle
  • index Key index (starting from 0)
  • buffer String buffer
  • maxlength Maximum buffer length
Returns

Number of bytes written to the buffer

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

    thrown. or index out of range

Назад
Верх