Hey,
I'm trying to make a command available only for admins with flag A and regular users when they're dead, but the best i could to is, to restrict the command for alive users and make it unavailable for users with ADMIN_USER (aka default).
Code:
if (is_user_alive(id) && (get_user_flags(id) & ADMIN_USER))
{
client_print(id, print_chat, "Only admins or dead users could use this command")
return PLUGIN_HANDLED
}
__________________