ClearInventory
From ZDoom Wiki
void ClearInventory(void);
Usage
This will clear the player's inventory of weapons, ammo, armor and usable items.
Note: This will not remove an inventory item or weapon that is flagged with the INVENTORY.UNDROPPABLE flag. An explicit call to TakeInventory is required to remove such items.
For a list of things to give, see Inventory.
Examples
This example works cleanly in Doom.
script 50 (void)
{
Print(s:"You hand your weapons over to security.\n");
ClearInventory();
GiveInventory("Fist", 1);
}
See also GiveInventory.

