Skip to content

llGiveAgentInventory

function ll.GiveAgentInventory(AgentID: string, FolderName: string, InventoryItems: {any}, Options: {any}): number

Give InventoryItems to the specified agent as a new folder of items, as permitted by the permissions system. The target must be an agent.

Parameters
AgentID (string)
An agent in the region.
FolderName (string)
Folder name to give to the agent.
InventoryItems ({any})
Inventory items to give to the agent.
Options ({any})
A list of option for inventory transfer.

Add example usage here showing SLua/Luau syntax with ll.GiveAgentInventory().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.