Garry's Mod Wiki

spawnmenu.ClearToolMenus

  spawnmenu.ClearToolMenus()

Description

Clears all the tools from the different tool categories and the categories itself, if ran at the correct place.

Seems to only work when ran at initialization.

Example

Clear the tool menu completely, after populating it:

hook.Run( "PopulateToolMenu" ) spawnmenu.ClearToolMenus()