Holy shit I managed to dig up the source code:
Code:
CS_DropWeapon(client, entity, true, true);
if(AcceptEntityInput(entity, "Kill"))
This is the method used by the most popular weapon restrect mod to remove a weapon from a player and destory it. I will be converting all races to use this method as I update them in the future!