It actually is possible... I made this check with statsme a long time ago... you CAN check whenever a player uses an unknown command but CANNOT check if a player has a command that is aliased... or... you could... by sending it and expect unknown command, if you receive it, it's not set, if not, it's aliased
don't really remember how I did it tough, I'll search through my old scripts and see what I can find
EDIT:
yeah, was something like hooking TextMsg and checking argument 2 with "#
Game_unknown_command"... or something
EDIT #2: tested a code and works, gets user ID and the unknown command sent:
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_event("TextMsg", "hook_textMsg", "b", "2=#Game_unknown_command")
}
public hook_textMsg(id, msg[], cmd[])
{
client_print(0, print_chat, "%d - unknown command: %s", id, cmd)
return PLUGIN_CONTINUE
}
__________________