HolyLib Wiki

pvs.SetMaxViewDistance

  pvs.SetMaxViewDistance( number distance )

Description

Sets the maximum distance at which entities are transmitted for the current transmit check.

This function requires the networking module to be enabled.
Only use this function inside the HolyLib:PreCheckTransmit hook or the SetupPlayerVisibility hook.

Arguments

1number distance

The new max view distance to use.