diff --git a/plugins/include/console.inc b/plugins/include/console.inc index ab96b353..1b46c24d 100644 --- a/plugins/include/console.inc +++ b/plugins/include/console.inc @@ -52,6 +52,27 @@ #define FCVAR_NETWORKSYSTEM (1<<26) /**< Defined by the network system. */ #define FCVAR_VPHYSICS (1<<27) /**< Defined by vphysics. */ + +/** + * Sends a message to the server console. + * + * @param format Formatting rules. + * @param ... Variable number of format parameters. + * @noreturn + */ +native PrintToServer(const String:format[], {Handle,Float,String,_}:...); + +/** + * Sends a message to a client's console. + * + * @param client Player index. + * @param format Formatting rules. + * @param ... Variable number of format parameters. + * @noreturn + * @error If the client is not connected an error will be thrown. + */ +native PrintToConsole(client, const String:format[], {Handle,Float,String,_}:...); + /** * Creates a new console variable. * diff --git a/plugins/include/sourcemod.inc b/plugins/include/sourcemod.inc index 279584a4..6592a949 100644 --- a/plugins/include/sourcemod.inc +++ b/plugins/include/sourcemod.inc @@ -312,26 +312,6 @@ native SetUserFlagBits(client, flags); */ native GetUserFlagBits(client); -/** - * Sends a message to the server console. - * - * @param format Formatting rules. - * @param ... Variable number of format parameters. - * @noreturn - */ -native PrintToServer(const String:format[], {Handle,Float,String,_}:...); - -/** - * Sends a message to a client's console. - * - * @param client Player index. - * @param format Formatting rules. - * @param ... Variable number of format parameters. - * @noreturn - * @error If the client is not connected an error will be thrown. - */ -native PrintToConsole(client, const String:format[], {Handle,Float,String,_}:...); - /** * Logs a generic message to the HL2 logs. *