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: 23ms

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