Hooks/Server/hideSellDoorMessage

From DarkRP
Jump to navigation Jump to search
Hook
Hook name hideSellDoorMessage(Player ply, Player ent)
Description:
Whether to hide the door/vehicle sold notification
Returns: boolean hide
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/hideSellDoorMessage]hideSellDoorMessage hook[/url][/b]

Parameters[edit]

  1. ply (Player)
  2. The player who sold the door or vehicle.

  3. ent (Player)
  4. The entity that was sold.

Return values[edit]

  1. hide (boolean)
  2. Whether to hide the notification.