Functions/Entity/Shared/isKeysOwnedBy

From Official DarkRP Wiki
Jump to: navigation, search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Entity/Shared/isKeysOwnedBy]Entity:isKeysOwnedBy[/url][/b]

Function parameters

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


Function return values

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