moved two console commands

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40486
This commit is contained in:
David Anderson 2007-02-12 19:45:23 +00:00
parent ea9815d2f5
commit c5316168de
2 changed files with 21 additions and 20 deletions

View File

@ -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.
*

View File

@ -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.
*