presets/GetTable

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=GetTable |Parent=presets |Description= |Realm=Client |IsClass=No }} ")
 
 
Line 2: Line 2:
 
|Name=GetTable
 
|Name=GetTable
 
|Parent=presets
 
|Parent=presets
|Description=
+
|Description=Returns a table with preset names and values from a single preset group.
 
|Realm=Client
 
|Realm=Client
 
|IsClass=No
 
|IsClass=No
 +
}}
 +
{{Arg
 +
|type=string
 +
|name=groupname
 +
|desc=Preset group name.
 +
}}
 +
{{Ret
 +
|type=table
 +
|desc=All presets in specified group.
 
}}
 
}}

Latest revision as of 13:33, 25 April 2013

 presets.GetTable( )

Description

Returns a table with preset names and values from a single preset group.

Arguments

string groupname

Preset group name.

Returns

table

All presets in specified group.
Personal tools
Navigation