1.1 --- a/plugins/include/console.inc Tue Mar 06 04:53:14 2007 +0000
1.2 +++ b/plugins/include/console.inc Tue Mar 06 06:15:19 2007 +0000
1.3 @@ -126,6 +126,7 @@
1.4 * @param description Optional description to use for command creation.
1.5 * @param flags Optional flags to use for command creation.
1.6 * @noreturn
1.7 + * @error Command name is the same as an existing convar.
1.8 */
1.9 native RegServerCmd(const String:cmd[], SrvCmd:callback, const String:description[]="", flags=0);
1.10
1.11 @@ -147,6 +148,7 @@
1.12 * @param description Optional description to use for command creation.
1.13 * @param flags Optional flags to use for command creation.
1.14 * @noreturn
1.15 + * @error Command name is the same as an existing convar.
1.16 */
1.17 native RegConsoleCmd(const String:cmd[], ConCmd:callback, const String:description[]="", flags=0);
1.18
1.19 @@ -163,6 +165,7 @@
1.20 * @param description Optional description to use for help.
1.21 * @param flags Optional console flags.
1.22 * @noreturn
1.23 + * @error Command name is the same as an existing convar.
1.24 */
1.25 native RegAdminCmd(const String:cmd[],
1.26 ConCmd:callback,
1.27 @@ -213,7 +216,7 @@
1.28 * @param hasMax Optional boolean that determines if the convar has a maximum value.
1.29 * @param max Maximum floating point value that the convar can have if hasMax is true.
1.30 * @return A handle to the newly created convar. If the convar already exists, INVALID_HANDLE is returned.
1.31 - * @error Convar name is blank or is the same as a console command.
1.32 + * @error Convar name is blank or is the same as an existing console command.
1.33 */
1.34 native Handle:CreateConVar(const String:name[], const String:defaultValue[], const String:helpText[]="", flags=0, bool:hasMin=false, Float:min=0.0, bool:hasMax=false, Float:max=0.0);
1.35