Garry's Mod Wiki

net.Receivers

net.Receivers

Not a function

This is used internally - although you're able to use it you probably shouldn't.

This is NOT a function, it's a table used internally by the net library to store net recievers added with net.Receive.

The key is the lowercase net message name and the value is the message's callback function.

Modifying net.Receivers won't affect the net string pool used in util.AddNetworkString.

Example

Disables a net message by removing its function in net.Receivers.

function net.Remove(name) net.Receivers[name] = nil end

Special Pages


Wikis

?

Render Time: 47ms

DB GetPage 24
Generate Html 5
SaveChanges (1) 9
Render Body 0
Render Sidebar 7