From DarkRP
Revision as of 18:43, 26 August 2020 by DarkRPWikiBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Function name Player:hasDarkRPPrivilege(string priv)
Whether the player has a certain privilege.
Returns: boolean answer
Part of Library: Player
Realm: NewerShared.png
BBCode Link: [b][url=]Player:hasDarkRPPrivilege[/url][/b]

Function parameters[edit]

  1. priv (string)
  2. The name of the privilege.

Function return values[edit]

  1. answer (boolean)
  2. Whether the player has the privilege.