Summary
Functions
Switches the container tool to another mode and rebuilds its control panel.
cont_updatepanel()client
Rebuilds the container tool's control panel for the current mode.
Functions
cont_setmode(player, tool, args)
client gamemodes/catwork/plugins/toolguns/plugin/tools/sh_container.lua:280Switches 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.