if(PlayerInfo[playerid][pRank] >= 2 && PlayerInfo[playerid][pRank] < 9){ // codes}else{ SendClientMessage(playerid, -1, "You ate not prank 2-8.");}