get_user_msgid

Syntax

native get_user_msgid(const name[]);

Usage

name
Client message name

Description

Returns unique id of a client message.

Note

Example usage: get_user_msgid("TextMsg")

Note

The message id is unique as long as the server is running, but might
change between updates. They should not be hardcoded into plugins.

Return

Message id, 0 if message was not found