You would have to make a plugin which either listens for the
item_found game event or for one of the
UserMessages, I don't know which one, you would have to experiment.
To make it easier I dug around and while it might have changed
according to the CSGO source code its the
SendPlayerItemDrops UserMessage, the wiki says "repeated ?" for its type but
this is the actual type.