Jump to navigation Jump to search
|Hook name||playerKeysSold(Player ply, Entity ent, number GiveMoneyBack)|
|When a player sold a door or vehicle.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerKeysSold]playerKeysSold hook[/url][/b]|
- ply (Player)
- ent (Entity)
- GiveMoneyBack (number)
The player who sold the door or vehicle.
The entity that was sold.
The amount of money refunded to the player
This hook does not accept return values. You can still return a value to override the default implementation of this hook.