From DarkRP
Jump to navigation Jump to search
Hook name playerSellDoor(Player ply, Entity ent)
When a player is about to sell a door.
Returns: boolean allowed, string reason
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerSellDoor]playerSellDoor hook[/url][/b]


  1. ply (Player)
  2. The player who is to sell the door.

  3. ent (Entity)
  4. The door.

Return values[edit]

  1. allowed (boolean)
  2. Whether the player is allowed to sell the door.

  3. reason (string)
  4. The reason why a player is not allowed to sell the door, if applicable.