Hooks/Server/getDoorCost

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

Parameters

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

  3. ent (Entity)
  4. The door

Return values

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