Added GetUserMessageName() native spec to usermessages.inc
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40518
This commit is contained in:
@@ -36,6 +36,16 @@ enum UserMsg
|
||||
*/
|
||||
native UserMsg:GetUserMessageId(const String:msg[]);
|
||||
|
||||
/**
|
||||
* Retrieves the name of a message by ID.
|
||||
*
|
||||
* @param msg_id Message index.
|
||||
* @param msg Buffer to store the name of the message.
|
||||
* @param maxlength Maximum length of string buffer.
|
||||
* @return True if message index is valid, false otherwise.
|
||||
*/
|
||||
native bool:GetUserMessageName(UserMsg:msg_id, String:msg[], maxlength);
|
||||
|
||||
/**
|
||||
* Starts a usermessage (network message).
|
||||
* @note Only one message can be active at a time.
|
||||
|
||||
Reference in New Issue
Block a user