Functions/Entity/Shared/isKeysAllowedToOwn

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name Entity:isKeysAllowedToOwn(Player ply)
Description:
Whether this player is allowed to co-own a door, as decided by the master door 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/isKeysAllowedToOwn]Entity:isKeysAllowedToOwn[/url][/b]

Function parameters

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


Function return values

  1. answer (boolean)
  2. Whether this door is (co-)ownable by the player.