Garry's Mod Wiki

Garry's Mod Wiki

  boolean SANDBOX:PreRegisterTOOL( table tool, string class )

Description

Called just before registering a Sandbox scripted tool.

Arguments

1 table tool
The TOOL table to be registered. See TOOL structure.
2 string class
The class name to be assigned.

Returns

1 boolean
Return false to prevent the TOOL from being registered.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...