View Single Post
Old 26/05/2020, 09:30 AM   #1
Filbert
Huge Clucker
 
Join Date: May 2016
Posts: 251
Reputation: 1
Question can i do this? (||)

pawn Code:
if(channel == g_Discord_Admin_CMD)
    {
        if(!strcmp(command, "!mycommand", true)) {
            if(role == (g_Role_Level_1 || g_Role_Level_2 || g_Role_Level_3 || g_Role_Level_4)) { //<<<<<<<<<<<<<<<<<<<<<
                //My action
            } else return DCC_SendChannelMessage(g_Discord_Admin_CMD, "```ERROR: You're not an admin!```");
        }
    }
Filbert is offline   Reply With Quote