Entity:SetPreventTransmit
Description
Prevents the server from sending any further information about the entity to a player.
You must also call this function on a player's children if you would like to prevent transmission for players. See Entity:GetChildren.
This does not work for nextbots unless you recursively loop their children and update them too.
Issue Tracker: 1736
Issue Tracker: 1736
When using this function, Entity:SetFlexScale will conflict with this function. Instead, consider using Entity:SetFlexScale on the client.
Arguments
1 Player or CRecipientFilter player
The player to stop networking the entity to. Can also be a CRecipientFilter as of March 2024 to affect multiple players at once.
Example
This will loop through all children entities of the ent passed and stop networking them too. Works with nextbots/players