Garry's Mod Wiki
The presets library lets you add and modify the pre-set options for scripted tools (selected via the white bar at the top of each tools control panel).
Methods
presets.BadNameAlert()
This is used internally - although you're able to use it you probably shouldn't.
Used internally to tell the player that the name they tried to use in their preset is not acceptable.
Returns whether a preset with given name exists or not
Returns a table with preset names and values from a single preset group.
presets.OverwritePresetPrompt( function callback )
This is used internally - although you're able to use it you probably shouldn't.
Used internally to ask the player if they want to override an already existing preset.
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...