if(GetPlayerColor(playerid) == COLOR_BLUE) { // code here } else { SendClientMessage(playerid,COLOR_RED,"You don't have color blue."); } return 1; }