HolyLib Wiki

pvs.ForceWeaponTransmit

  pvs.ForceWeaponTransmit( Entity weapon, boolean forcetransmit )

Description

Forces the given weapon entity to always be transmitted, regardless of the usual weapon transmission rules.

This function requires the networking module to be enabled.
If the given entity isn't a weapon, this function simply has no effect.

Arguments

1Entity weapon

The weapon entity to force transmit for.

2boolean forcetransmit

Whether the weapon should always be transmitted.