Entity/SetPreventTransmit

From Garry's Mod
Jump to: navigation, search
 Entity:SetPreventTransmit( )

Description

Prevents the server from sending any further information about the entity to a player.

BUG

This does not work for nextbots.

Issue Tracker: #1736

Validation required.
This page contains possibly incorrect or incomplete information. Further testing is required.

UNCONFIRMED: When using this function, Entity:SetFlexScale will conflict with this function. Instead, consider using Entity:SetFlexScale on the client.

Arguments

Player player

The player to stop networking the entity to.

Arguments

boolean stopTransmitting

true to stop the entity from networking, false to make it network again.
Personal tools
Navigation