DarkRP Anti-prop-surf?

So I’m not asking for spoonfeeding, I just want a general idea of how to do this.

I’ve already thought that if I can make props go through ‘self’ in the code then that would essentially make prop-surfing harder.

How would I go about doing that? As in where in the files would I find the line of code that puts restrictions on props?