Garry's Mod Wiki


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 receivers 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.


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

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