From Official DarkRP Wiki
|Hook name||playerBoughtDoor(Player ply, Entity ent, number cost)|
|Called when a player has purchased a door.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerBoughtDoor]playerBoughtDoor hook[/url][/b]|
- ply (Player)
- ent (Entity)
- cost (number)
The player who has purchased the door.
The purchased door.
The cost of the purchased door.
This hook does not accept return values. You can still return a value to override the default implementation of this hook.