From Official DarkRP Wiki
|Hook name||playerBoughtShipment(Player ply, table shipmentTable, Entity ent, number price)|
|Called when a player bought a shipment.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerBoughtShipment]playerBoughtShipment hook[/url][/b]|
- ply (Player)
- shipmentTable (table)
- ent (Entity)
- price (number)
The table (from the CustomShipments table).
The spawned entity.
The eventual price.
This hook does not accept return values. You can still return a value to override the default implementation of this hook.