I couldn't get the engine client command to work with console commands defined in other amx plugins.
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Test", "1.0", "Fysiks")
register_concmd("test","cmdTest",_," Test command")
}
public cmdTest(id)
{
engclient_cmd(id, "amx_ban", "fysiks 1 ^"No reason^"")
return PLUGIN_HANDLED
}
yeilds this in my client console:
Code:
] test
Unknown command: amx_ban
The only explaination that I could think of is that engclient_cmd() only works with HL engine commands.
__________________