Garry's Mod Wiki

net.Broadcast

void net.Broadcast()

Description

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

Example

Sends a packet to all players.

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

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 12
Render Body 0
Render Sidebar 13