TrieGetString

Синтаксис

native bool:TrieGetString(Trie:handle, const key[], output[], outputsize, &size = 0);

Употреба

handle
Map handle
key
Key string
output
Buffer to copy the value to
outputsize
Maximum size of buffer
size
Optional variable to store the number of cells written
to the buffer in

Описание

Retrieves a string from a hash map.

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

True on success, false if either the key is not set or
the value type does not match (value is cell or array)

Грешка

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