Garry's Mod Wiki

Entity:SetPreventTransmit

Entity:SetPreventTransmit( Player player, boolean stopTransmitting )

Description

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

This does not work for nextbots.

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

Arguments

1 Player player
The player to stop networking the entity to.
2 boolean stopTransmitting
true to stop the entity from networking, false to make it network again.

Page Links


Special Pages


Wikis

?

Render Time: 26ms

Session 0
DB GetPage 3
Generate Html 4
SaveChanges 8
Render Body 0
Render Sidebar 8