Skip to content

function getInventory (client-side)

Available since version: 0.3.0

This function will return the local player's inventory as item instance keys with item amounts as values.

Declaration

{[string]: number} getInventory()

Parameters

No parameters.

Returns {[string]: number}

Inventory table indexed by item instance.