Entity/SetTransmitWithParent

From Garry's Mod
Revision as of 21:36, 1 July 2013 by Facepunch bot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Entity:SetTransmitWithParent( )

Description

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).

Arguments

bool onoff

Will set the TransmitWithParent flag on or off
Personal tools
Navigation