View Single Post
08/15/17, 12:47 PM   #5
p6kocka
Join Date: Apr 2014
Posts: 19
OK. I´ve already tried it. Could you help me with already existing lua file?:

EVENT_MANAGER:RegisterForEvent("SpinStop", EVENT_ADD_ON_LOADED,
function(eventCode, addon)
if (addon):find("^ZO_") then return end

for name, scene in pairs(SCENE_MANAGER.scenes) do
if not (name):find("market") and scene:HasFragment(FRAME_PLAYER_FRAGMENT) then
scene:RemoveFragment(FRAME_PLAYER_FRAGMENT)
end
end

EVENT_MANAGER:UnregisterForEvent("SpinStop", eventCode)
end)


How to bind this function to a keybind pls?
  Reply With Quote