Functions/Player/Shared/hasDarkRPPrivilege

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Player:hasDarkRPPrivilege(string priv)
Description:
Whether the player has a certain privilege.
Returns: boolean answer
Part of Library: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Shared/hasDarkRPPrivilege]Player:hasDarkRPPrivilege[/url][/b]

Function parameters

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


Function return values

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