Garry's Mod Wiki

Revision Difference

Entity:SetPreventTransmit#514507

<function name="SetPreventTransmit" parent="Entity" type="classfunc">⤶ <description>⤶ Prevents the server from sending any further information about the entity to a player.⤶ ⤶ <bug issue="1736">This does not work for nextbots.</bug>⤶ ⤶ ⤶ ⤶ UNCONFIRMED: When using this function, <page>Entity:SetFlexScale</page> will conflict with this function. Instead, consider using <page>Entity:SetFlexScale</page> on the client.⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="player" type="Player">The player to stop networking the entity to.</arg>⤶ <arg name="stopTransmitting" type="boolean">true to stop the entity from networking, false to make it network again.</arg>⤶ </args>⤶ </function>⤶ ⤶