net.Broadcast
From GMod Wiki
| Function | |
| Syntax |
net.Broadcast( ) Where is this used? |
| Description: | |
| Dispatches current net message to all players. | |
| Returns: | nil |
| Part of Library: | net |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Net.Broadcast]Net.Broadcast [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sends a packet to all players. |
|---|---|
| Used on | |
| Code | net.Start("NETHOOK") net.WriteString("some text") net.Broadcast() |
| Output | N/A |