Garry's Mod Wiki

Garry's Mod Wiki

  table net.Receivers

Description

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.

Returns

1 table
The list of all registered derma controls.

Example

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

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...