Why can't I invite friends to my online game in Burnout Revenge?

You cannot invite friends to ranked matches. Make sure that you make the game unranked when you create it. If you want your friend to join you for a ranked race you can send him a message and tell him the name of the lobby you're in.