Garry's Mod Wiki

spawnmenu.ActivateTool

spawnmenu.ActivateTool

spawnmenu.ActivateTool( string tool, boolean menu_only )

Description

Activates a tool, opens context menu and brings up the tool gun.

Arguments

1 string tool
Tool class/file name
2 boolean menu_only
Should we activate this tool in the menu only or also the toolgun? true = menu only,false = toolgun aswell

Special Pages


Wikis

?

Render Time: 136ms

DB GetPage 49
Generate Html 2
SaveChanges (1) 75
Render Body 0
Render Sidebar 7