HolyLib Wiki

pvs.EnablePreTransmitHook

  pvs.EnablePreTransmitHook( boolean enable )

Description

Enables or disables the HolyLib:PreCheckTransmit hook from being called.

This is disabled by default and reset back to disabled on every map change, since calling a Lua hook on every transmit check has a performance cost.
Only enable this if you actually use HolyLib:PreCheckTransmit.

Arguments

1boolean enable

Whether the HolyLib:PreCheckTransmit hook should be called.