Functions/DarkRP/Shared/getDemoteGroup

From Official DarkRP Wiki
Jump to: navigation, search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/getDemoteGroup]DarkRP.getDemoteGroup[/url][/b]

Function parameters

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


Function return values

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