HolyLib Wiki

AddEntityToTransmit

  pvs.AddEntityToTransmit( Entity entity, boolean always = false )

Description

Adds the given Entity to be transmitted.

Only use this function inside the HolyLib:PreCheckTransmit or HolyLib:PostCheckTransmit hook!

Verify that the always works as intented.

Arguments

1Entity entity
the entity to add. Can also be a table and EntityList of entities
2boolean always = false
Set to true if they should always be transmitted / ignore the pvs