Add elog_message native (#451)

* elog_message

Like "log_message". Logs a message to the current server log file, however the messages sent are also sent to all plugins and can be hooked using "register_logevent".

* Update amxmodx.cpp

* Update Editor.sci

* Update UnitfrmMain.dfm
This commit is contained in:
PartialCloning
2017-08-01 06:14:53 -07:00
committed by Vincent Herbet
parent 1dc1f1b9c4
commit 24e56d0476
4 changed files with 29 additions and 1 deletions

View File

@ -1288,6 +1288,19 @@ native log_amx(const string[], any:...);
*/
native log_message(const message[], any:...);
/**
* Logs a message hookable by plugins to the current server log file.
*
* @note The log will include a timestamp with the message.
* @note The message can be hooked using "register_logevent".
*
* @param string Formatting rules
* @param ... Variable number of formatting parameters
*
* @return Number of printed characters
*/
native elog_message(const message[], any:...);
/**
* Logs a message to the specified file
*