native
TrieGetString
Syntax
native bool:TrieGetString(Trie:handle, const key[], output[], outputsize, &size = 0);
Description
Retrieves a string from a hash map.
Parameters
| 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 |
Return
True on success, false if either the key is not set or
the value type does not match (value is cell or array)
Error
If an invalid handle is provided an error will be
thrown.