Based on your long history of lovelorn questions, and the obvious social naïveté that spawned them, it is clear a) that your friend is right about you; and, b) why you are still a virgin.
We can only guess what you are like in person, but as Tom suggests, the low assessment of your maturity may be based in a more immediate impression than the sum of your romantic inadequacies.
This, to me, is laid bare by the essence of your query here: That you lack a reasonable grasp of what qualifies as manhood.
At 24, your frontal lobe is mature, your bones are fully grown and you should be at your physical peak. (Cue the trumpets)
What then have you been doing in terms of your intellectual and social development for the last 6, 8, 10 years?
Therein, I submit, lies the primary issue with your confusion. You can only blame your parents for your shortcomings for so long. So, you either take the drivers seat of your life and assume control, or you don’t. It’s on you now, and the clock is ticking.
To address your Q directly, my answer is this:
You are a man when you know who and what you are, can admit your faults, show due respect for yourself and other people, and carry your own weight in this world.
Take care of these, and the rest may fall into place.