if(strcmp(InfoPlayer[playerid][MiVariable], PName(playerid), true) == 0) { //si coinciden } else { //si son diferentes }