Garry's Mod Wiki

Tool:RebuildControlPanel

  Tool:RebuildControlPanel( vararg extra_args )

Just Added

This was just added in the latest version (2023.01.25). It might only be available on the Dev Branch right now.

Description

Automatically forces the tool's control panel to be rebuilt.

Arguments

1 vararg extra_args
Any arguments given to this function will be added to TOOL.BuildCPanel's arguments.