We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Allows your function to listen for TRP3 events
TRP3_API.events.listenToEvent(event, handler, handlerID)
event
handler
handlerID
eventDispatcher
Register a custom function to run whenever a TRP3 event is fired
local eventsAPI = TRP3_API.events local function helloWorld() print("Profile Updated!") end local eventToTrack = "REGISTER_DATA_UPDATED" local handlerID = "myHandler" local callback = eventsAPI.listenToEvent(eventToTrack, helloWorld, handlerID)