Garry's Mod Wiki


Entity:SetTransmitWithParent( boolean onoff )


When this flag is set the entity will only transmit to the player when its parent is transmitted. This is useful for things like viewmodel attachments since without this flag they will transmit to everyone (and cause the viewmodels to transmit to everyone too).

In the case of scripted entities, this will override ENTITY:UpdateTransmitState


1 boolean onoff
Will set the TransmitWithParent flag on or off

Page Links

Special Pages



Render Time: 29ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 12