forked from HerculesWS/Hercules
-
Notifications
You must be signed in to change notification settings - Fork 0
Msg txt
Mike Kao edited this page Jun 16, 2023
·
1 revision
char* '''msg_txt'''(int msg_number);
- msg_number - Message ID of the requested message.
This function retrieves a pointer to a message string, which was loaded from '. Although the return value is not typed as const, it should be handled as such and the contents pointed to by the pointer should be only read.
'''[[Clif Displaymessage|clif->displaymessage]]'''(sd->fd, msg_txt(3));
This would pass pointer to the message "Character not found." to the function Clif Displaymessage.