Skip to content

Commit

Permalink
Add @note in get_user_msgid() (alliedmodders#506)
Browse files Browse the repository at this point in the history
* Update lang.inc

* Update lang.inc

* Update amxmodx.inc

* Improve @note phrasing
  • Loading branch information
OciXCrom committed Sep 10, 2018
1 parent 10f52f7 commit 0e6e97c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/include/amxmodx.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2142,6 +2142,9 @@ native random_num(a, b);
* @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.
* @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
*
Expand Down

0 comments on commit 0e6e97c

Please sign in to comment.