SetTrieArray Function

Sets an array value in a Map, either inserting a new entry or replacing an old one.

bool SetTrieArray(Handle map, const char[] key, const any[] array, int num_items, bool replace)


Handle map

Map Handle.

const char[] key

Key string.

const any[] array

Array to store.

int num_items

Number of items in the array.

bool replace

If false, operation will fail if the key is already set.

Return Value

True on success, false on failure.


Invalid Handle.