I was wrong the first time.
tested and working:
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_clcmd("say !test", "CmdTest");
}
public CmdTest(id)
{
if(is_user_alive(id) && !(get_user_flags(id) & ADMIN_BAN))
client_print(id, print_chat, "You cannot access this");
else
client_print(id, print_chat, "You can access this");
return PLUGIN_HANDLED;
}
__________________