PDA

View Full Version : New function?


MagicShot
04-05-2004, 02:42
Is it possible to add support it see when the cliend uses the "cmd" command in console? and to see what there trying to send to the server?
register_concmd & register_clcmd don't work..

Would this be possible to support?

_KaszpiR_
04-05-2004, 08:53
what do you want to trace?

BAILOPAN
04-05-2004, 09:47
public client_command(id)
{
}


That is forwarded on every command a client uses. Note this does not catch engine specific commands such as +attack. It _may_ work... but I doubt it if clcmd does not catch it

MagicShot
04-05-2004, 11:26
Bail: Yeah I can't seem to get clcmd to catch it. I set client_command up for echo everything client does but it doesn;t seem to catch the cmd command on the client..

_KaszpiR_
04-06-2004, 04:11
i remember on old amxmod.net forums were plugin that allready did that

like admin echo or sth like it, try that