team/GetClass

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=GetClass |Parent=team |Description= |Realm=Shared |IsClass=No }} ")
 
 
Line 2: Line 2:
 
|Name=GetClass
 
|Name=GetClass
 
|Parent=team
 
|Parent=team
|Description=
+
|Description=Returns the selectable classes for the given team. This can be added to with [[team/SetClass]]
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No
 +
}}
 +
{{Arg
 +
|type=number
 +
|name=index
 +
|desc=Index of the team
 +
}}
 +
{{Ret
 +
|type=table
 +
|desc=Selectable classes
 
}}
 
}}

Latest revision as of 19:45, 4 June 2013

 team.GetClass( )

Description

Returns the selectable classes for the given team. This can be added to with team/SetClass

Arguments

number index

Index of the team

Returns

table

Selectable classes
Personal tools
Navigation