Quote:
Originally Posted by drekes
So this doesnt work?
If so can you explain why to?
PHP Code:
#include <amxmodx>
#define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author"
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("+speed", "cmdwalk") }
public cmdwalk(id) { //something... }
|
Correct. That won't work. You can't catch client commands in that fashion. You must use the way provided if you want efficiency.
It happens for many things. For example, you can't catch +voicecomm (or whatever the voice command is). There's actually a thread in scripting help for that now.
__________________