net.Start
From GMod Wiki
| Function | |
| Syntax |
net.Start( String message_name ) Where is this used? |
| Description: | |
| Begins a new net message. | |
| Returns: | nil |
| Part of Library: | net |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Net.Start]Net.Start [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sends a packet to a single player. |
|---|---|
| Used on | |
| Code | net.Start("my message") net.WriteString("some text") net.Send(ply) |
| Output | N/A |
Additional Notes
- Try to keep your hook message short and to the point. "MyMsg" would be better than "My Message"