net.Broadcast

From Garry's Mod
Revision as of 08:11, 18 October 2018 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 net.Broadcast( )

Description

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

Examples

Example

Sends a packet to all players.

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


Personal tools
Navigation