Didn't your mother say you should not hit live people?
Ask one of the live people to stand still and then see if you can hit them (friend and foe). If your problem is when they move then they or your server are having a lag problem. Try
changing g_antilag to 0.