Added native get_user_msgname(msgid, name[], len);

This commit is contained in:
Johnny Bergström
2004-10-25 23:00:16 +00:00
parent 4e0bfe161e
commit 5eb095b514
2 changed files with 15 additions and 0 deletions

View File

@ -535,6 +535,10 @@ native random_num(a,b);
* Example: get_user_msgid("TextMsg"). */
native get_user_msgid(const name[]);
/* Gets name of client message index. Return value is number of
* characters copied into name. Returns 0 on invalid msgid. */
native get_user_msgname(msgid, name[], len);
/* Checks if public variable with given name exists in loaded plugins. */
native xvar_exists( const name[] );