GetUserMessageName Function

Retrieves the name of a message by ID.

bool GetUserMessageName(UserMsg msg_id, char[] msg, int maxlength)

Parameters

UserMsg msg_id

Message index.

char[] msg

Buffer to store the name of the message.

int maxlength

Maximum length of string buffer.

Return Value

True if message index is valid, false otherwise.