Would it be possible to create this hook on the C++ side of SP, similar to the way OnPlayerRunCommand was made?
I feel like SetTransmit is one of the most expensive functions to hook, but it can be such a useful tool. Maybe if the filtering was done on the C++ side, the performance would improve?