Inventory:getOwner - brianhang/nutscript2 GitHub Wiki

Description

ownerID = Inventory:getOwner()

This shared function returns the numeric ID for which character owns the inventory.

Returns

Name Description
ownerID A number that is the ID of the character that owns this inventory.