Originally Posted by blackalegator
Could You please explain me this code a little bit? Isnt client allways an entity? Than it would have no effect
You SetTransmit hook on an entity, usually a prop_dynamic or something. The transmit callback is fired for that prop_dynamic entity (or in this case the client) and fires every frame for all clients. You can then decide who should see that entity by return Plugin_Continue or not allowed to see that entity with return Plugin_Handled.
Because the entity you hooked is a client, all you have to do is check the entity and client are the same and allow that person to see themselves (so they can move etc), while they are blocked to everyone else.