Functions/DarkRP/Shared/createDemoteGroup

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name DarkRP.createDemoteGroup(string name, table tbl)
Description:
Create a demote group. When you get banned (demoted) from one of the jobs in this group, you will be banned from every job in this group.
Returns: nil
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/createDemoteGroup]DarkRP.createDemoteGroup[/url][/b]

Function parameters

  1. name (string)
  2. The name of the demote group.

  3. tbl (table)
  4. Table consisting of a list of job.


Function return values

This function does not return any value.