Is there a way to stop a placeable from dropping its inventory when it gets destroyed?
Thank you much for your help.
void main ()
{
object oItem = GetFirstItemInInventory(OBJECT_SELF);
while (GetIsObjectValid(oItem))
{
DestroyObject(oItem);
oItem = GetNextItemInInventory(OBJECT_SELF);
}
}
Modifié par Squatting Monk, 11 juillet 2013 - 07:06 .