SetStringTableData Function

Sets the user data associated with a given string index.

void SetStringTableData(int tableidx, int stringidx, const char[] userdata, int length)

Parameters

int tableidx

A string table index.

int stringidx

A string index.

const char[] userdata

User data string that will be set.

int length

Length of user data string. This should include the null terminator.

Errors

Invalid string table index or string index.