So, I was looking for a way to hide players from other players originally I used some shitty piece of code to prevent them being drawn on client but any trails that were from util.SpriteTrail (env_spritetrail’s) would still show and fps would drop regardless even if I colored the trails invisible.
Recently I came across this function
from this page:
I thought: “Oh, I can do something similar to the sourcemod ‘hook’ SetTransmit”
tried calling it with true and false on a player to a player (both ways) with lua_run no effect.
I then tried it in an autorun with a concommand.
Still no dice.
So, does anyone:
- Know wether this function works
- If so does it work on players
- How do I properly use it on players
- If none of the above please give alternatives.