Inventory:save - brianhang/nutscript2 GitHub Wiki

Description

Inventory:save()

This server function saves the state (items, custom data, etc...) of the inventory to the database. Note that the default implementation does nothing.

Side Effects

  • Inventory data is saved to the database