Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetTransmitWithParent( boolean onoff )

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

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

Arguments

1 boolean onoff
Will set the TransmitWithParent flag on or off

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...