Garry's Mod Wiki

Garry's Mod Wiki

  net.Broadcast()

Description

Sends the currently built net message (see net.Start) to all connected players. More information can be found in Net Library Usage.

Example

Sends a packet to all players.

net.Start( "MyNetworkString" ) net.WriteString( "some text" ) net.Broadcast()

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 twice a day. Edits and history are not available.

Last Parsed: Loading...