I would like to "grab" the moment when a client types developer, for example, in console, also with a argument. I've tried this:
Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_clcmd("developer", "check_dev");
}
public check_dev(id)
{
client_print(0, print_chat, "Hooked!");
read_argv(1, arg, 32)
}
Failed.
I know about query_client_cvar & how to use it but this requires a repetitive task to check it constantly.
Thank you.