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

Page Links


Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 4
Generate Html 0
SaveChanges 8
Render Body 0
Render Sidebar 8