Functions/Player/Shared/hasDarkRPPrivilege

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 parametersEdit

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


Function return valuesEdit

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