llGiveAgentInventory
function ll.GiveAgentInventory(AgentID: string, FolderName: string, InventoryItems: {any}, Options: {any}): numberGive 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.
Examples
Section titled “Examples”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.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGiveAgentInventory