Jump to navigation Jump to search
|Hook name||onAllowedToOwnRemoved(Player ply, Entity ent, Player target)|
|When a player removes a co-owner to a door.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onAllowedToOwnRemoved]onAllowedToOwnRemoved hook[/url][/b]|
- ply (Player)
- ent (Entity)
- target (Player)
The player who removes the co-owner.
The target who will not be allowed to own the door anymore.
- allowed (boolean)
Whether the player is allowed to remove this player as co-owner.