Hello, fellow ET modders and other lunatics! 
I’ve been working on a mod based on the ETPub source code, and basically I made it drop the weapon that you are currently holding instead of always the primary. Thing is, I want the allies to be able to pick up a luger by trading in their own secondary. I found something like it, but it only works for primary weapons apparently (g_items.c, line 577).