player_trades
Syntax
__on_player_trades(player, entity, buy_left, buy_right, sell) -> ...Triggered when player trades with a merchant. The event is invoked after the
server allow the trade, but before the inventory changes and merchant updates
its trade-uses counter. The parameter entity can be null if the merchant is
not an entity.