Hooks/Server/getDoorCost

From DarkRP
Hook
Hook name getDoorCost(Player ply, Entity ent)
Description:
Get the cost of a door.
Returns: number cost
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/getDoorCost]getDoorCost hook[/url][/b]

Parameters[edit]

  1. ply (Player)
  2. The player who has the intention to purchase the door.

  3. ent (Entity)
  4. The door

Return values[edit]

  1. cost (number)
  2. The price of the door.