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