Add @note in get_user_msgid() (#506)

* Update lang.inc

* Update lang.inc

* Update amxmodx.inc

* Improve @note phrasing
This commit is contained in:
OciXCrom 2018-08-20 19:50:43 +02:00 committed by Vincent Herbet
parent 0765dc8a0d
commit 6528677dcc

View File

@ -2142,6 +2142,9 @@ native random_num(a, b);
* @note Example usage: get_user_msgid("TextMsg") * @note Example usage: get_user_msgid("TextMsg")
* @note The message id is unique as long as the server is running, but might * @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. * change between updates. They should not be hardcoded into plugins.
* @note On first server start, this function will return 0 if used inside
* plugin_precache(). Consider hooking RegUserMsg in order to retrieve
* the correct message id.
* *
* @param name Client message name * @param name Client message name
* *