Hello, I'm trying something like this:
local data = nil
local t = CreateTrigger()
ForForce(GetPlayersAll(), function ()
BlzTriggerRegisterPlayerSyncEvent(t, GetEnumPlayer(), "focus", false)
end)
TriggerAddAction(t, function ()
data = BlzGetTriggerSyncData()
end)
---@param p any...