HolyLib Wiki

AddEntityToPVS

  pvs.AddEntityToPVS( Entity entity )

Description

Adds the given entity to the PVS

You should only use this inside the SetupPlayerVisibility hook.

Arguments

1Entity entity
the entity to add. Can also be a table and EntityList of entities