1.1 --- a/sourcemm/ISmmAPI.h Fri Apr 21 02:30:02 2006 +0000
1.2 +++ b/sourcemm/ISmmAPI.h Fri Apr 21 06:35:47 2006 +0000
1.3 @@ -98,6 +98,12 @@
1.4 * @brief Formats a file path to the local OS. Does not include any base directories.
1.5 */
1.6 virtual void PathFormat(char *buffer, size_t len, const char *fmt, ...) =0;
1.7 +public: // Added in 1.2.2 (1:3)
1.8 + /**
1.9 + * @brief Prints text in the specified client's console. Same as IVEngineServer::ClientPrintf
1.10 + * except that it allows for string formatting.
1.11 + */
1.12 + virtual void ClientConPrintf(edict_t *client, const char *fmt, ...) =0;
1.13 };
1.14
1.15
1.16 @@ -105,6 +111,7 @@
1.17 * 1.1.0 bumped API to 1:0. The breaking changes occured in sourcehook and the plugin API.
1.18 * 1.1.2 added API call for generating iface names.
1.19 * 1.2 added API more helper functions and new SourceHook version.
1.20 + * 1.2.2 added API for printing to client console (with string formatting)
1.21 */
1.22
1.23 #endif //_INCLUDE_ISMM_API_H