Update

Last Updated2022-09-05
Created At2022-09-05

Updates the key / value pair at the given index.

native void Update(int index, const char[] key = NULL_STRING, const char[] value = NULL_STRING)

Parameters

int index
Position, starting from 0.
const char[] key
New key name, or NULL_STRING to preserve the existing key name.
const char[] value
New value, or NULL_STRING to preserve the existing value.

Return Value

void

Error

Index is out of bounds or entity lump is read-only.