Skip to main content

PlatformInventoryAdd

Callable

  • PlatformInventoryAdd(InventoryName: string, QuantityToAdd?: number): void

  • Adds an item to the player inventory


    Parameters

    • InventoryName: string

      The item name to add

    • QuantityToAdd: number = 1

      The quantity to add (1 if null)

    Returns void

    • Nothing