From 1905ea7295ca3c0e5eb8c54f19bb576462d352e9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 22 Nov 2006 02:47:15 +0000 Subject: [PATCH] added info about console commands --- plugins/include/amxmodx.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 5322955f..4868b04e 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -473,13 +473,19 @@ native get_user_flags(index,id=0); /* Removes flags for player. */ native remove_user_flags(index,flags=-1,id=0); -/* Registers function which will be called from client console. */ +/* Registers function which will be called from client console. + * Returns the command ID. + */ native register_clcmd(const client_cmd[],const function[],flags=-1, info[]=""); -/* Registers function which will be called from any console. */ +/* Registers function which will be called from any console. + * Returns the command ID. + */ native register_concmd(const cmd[],const function[],flags=-1, info[]=""); -/* Registers function which will be called from server console. */ +/* Registers function which will be called from server console. + * Returns the command ID. + */ native register_srvcmd(const server_cmd[],const function[],flags=-1, info[]=""); /* Gets info about client command. */