void DestroyStuff() { object oInv = GetFirstItemInInventory(OBJECT_SELF); while (GetIsObjectValid(oInv) != 0) { DestroyObject(oInv); oInv = GetNextItemInInventory(OBJECT_SELF); } DestroyObject(OBJECT_SELF); } void main() { float fTimer = 180.00; AssignCommand(OBJECT_SELF, DelayCommand(fTimer, DestroyStuff())); }