:)
Ni hao,we use it to a stranger or a nice-to-meet-you occasion, which means we seldom use it at all. Of course, when we ask sb. for help, we say “Ni hao, 请问。。。。。。“”
we never greet each other with "How are you? / what's up etc."
[if we haven't seen each other for a long time, we may say "最近过得怎么样啊/去哪了都,这么久不见etc"]
Just a "hi", and go straight to the point. :)
But if we talk to a foreigner, we may say How are you.