Functions/DarkRP/Shared/getDemoteGroup

From DarkRP
Function
Function name DarkRP.getDemoteGroup(number teamNr)
Description:
Get the demote group of a team. Every team in the same group will return the same object.
Returns: Disjoint-Set set
Part of Library: DarkRP
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/getDemoteGroup]DarkRP.getDemoteGroup[/url][/b]

Function parameters[edit]

  1. teamNr (number)
  2. Table consisting of a list of job.


Function return values[edit]

  1. set (Disjoint-Set)
  2. The demote group identifier.