Garry's Mod Wiki

Revision Difference

SANDBOX:PopulateToolMenu#552458

<function name="PopulateToolMenu" parent="SANDBOX" type="hook"> <ishook>yes</ishook> <description>Add the STOOLS to the tool menu. You want to call <page>spawnmenu.AddToolMenuOption</page> in this hook.</description> <description>Add the <page text="Scripted TOOLs">TOOL</page> to the tool menu. You want to call <page>spawnmenu.AddToolMenuOption</page> in this hook.</description> <realm>Client</realm> <predicted>No</predicted> <file line="241">gamemodes/sandbox/gamemode/spawnmenu/spawnmenu.lua</file> </function>