Garry's Mod Wiki

presets.Exists

boolean presets.Exists( string type, string name )

Description

Returns whether a preset with given name exists or not

Arguments

1 string type
The preset group name, usually it's tool class name.
2 string name
Name of the preset to test

Returns

1 boolean
true if the preset does exist

Page Links


Special Pages


Wikis

?

Render Time: 39ms

Session 0
DB GetPage 5
Generate Html 1
SaveChanges 12
Render Body 0
Render Sidebar 18