Summary

Functions

Switches the container tool to another mode and rebuilds its control panel.
Rebuilds the container tool's control panel for the current mode.

Functions

Switches the container tool to another mode and rebuilds its control panel.

Registered as the cont_setmode console command and run when a mode is picked in the panel.

Parameters

  • player Player The local player
  • tool String The console command name
  • args List<String> Command arguments; the first is the mode number (1-4)

Rebuilds the container tool's control panel for the current mode.

Registered as the cont_updatepanel console command. Does nothing when the panel does not exist.

Defined in