Instant client-side reaction functions?

I was messing with a few features to add in my server, view punch and change in eyeangles when you get shot, take fall damage, etc.

The problem is that since those things are in the gamemode, it only happens when the server tells the client to make it happen, which means that, depending on the ping of the player, it’ll either happen just a bit late, or just plainly too late and give a poor result.

My question is, where should I put these functions if I wanted to make sure that they were executed by the client, to make them happen instantly, and avoid the delay caused by the lag?