presets.Exists

From Garry's Mod
Jump to: navigation, search
 presets.Exists( )

Contents

Description

Returns whether a preset with given name exists or not

Arguments

string type

The preset group name, usually it's tool class name.

Arguments

string name

Name of the preset to test

Returns

boolean

true if the preset does exist
Personal tools
Navigation