Garry's Mod Wiki

spawnmenu.ClearToolMenus

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()

Special Pages


Wikis

?

Render Time: 63ms

DB GetPage 48
Generate Html 0
SaveChanges (1) 7
Render Body 0
Render Sidebar 7