Part of StarfallEx namespace
๐ External
net.receive(name, func)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Like glua net.Receive, adds a callback that is called when a net message with the matching name is received. If this happens, the net hook won't be called.
Parameters
| Name | Type | Description |
|---|---|---|
name | string | The name of the net message |
func | function | The callback or nil to remove callback. (len - length of the net message, ply - player that sent it or nil if clientside) |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.