Functions/Entity/Shared/isMasterOwner

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Entity:isMasterOwner(Player ply)
Description:
Whether the player is the main owner of the door (as opposed to a co-owner).
Returns: boolean answer
Part of Library: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Entity/Shared/isMasterOwner]Entity:isMasterOwner[/url][/b]

Function parameters

  1. ply (Player)
  2. The player to query.


Function return values

  1. answer (boolean)
  2. Whether this player is the master owner.