Skip to content

llRequestAgentData

function ll.RequestAgentData(AvatarID: string, Data: number): string

Requests data about AvatarID. When data is available the dataserver event will be raised.

This function requests data about an avatar. If and when the information is collected, the dataserver event is triggered with the key returned from this function passed in the requested parameter. See the agent data constants (DATA_*) for details about valid values of data and what each will return in the dataserver event.

Parameters
AvatarID (string)
Data (number)

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

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