Functions/Entity/Shared/isKeysOwnedBy

From DarkRP
Function
Function name Entity:isKeysOwnedBy(Player ply)
Description:
Whether this door is owned or co-owned by this player
Returns: boolean answer
Part of Library: Entity
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Entity/Shared/isKeysOwnedBy]Entity:isKeysOwnedBy[/url][/b]

Function parameters[edit]

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


Function return values[edit]

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