Well if your friend told the guy you like that you have a crush on him..don't try to deny it. Just show your face proudly, and tell him it's true.
That way..you can find out if he likes you without having to ask him yourself.
And if he doesn't end up liking you, then don't take it personally. Your not the only gal on earth with the same prob!