Mouse interface for ScaleformUI
Changes from this release:
- New mouse interface for both Lua and C#, fixes the mouse pointing and selection + makes Lua mouse dragging smoother.
- Lua: new async controls for mouse and keyboard / gamepad. It is now possible to draw and process controls in the same thread!(1)
- Lua: UIMenu Added activated event for all items
- Lua: UIMenu fixed going forward or backward more than once.
- C#: TabView disable in-game UI when pause menu is open
(1): from this release you can safely use:
pool:ProcessControls()
and pool:Draw()
in the same thread
Citizen.CreateThread(function()
while true do
Wait(0)
pool:ProcessControl()
pool:Draw()
end
end)