I'm gonna get flamed but...I looked up slapping and nothing. I can do it on the lowest string but I cant do it right on any other strings most likely I have improper technique so....help.
It's just practice. Just spend a week slapping all your patterns on the A string.. try and keep your thumb more paralell to the string, that helps...

A teacher will help you lots with this too