Garry's Mod Wiki

spawnmenu.ClearToolMenus

void 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: 22ms

Session 0
DB GetPage 3
Generate Html 0
SaveChanges 9
Render Body 0
Render Sidebar 8