Skip to content

Mouse interface for ScaleformUI

Compare
Choose a tag to compare
@manups4e manups4e released this 06 May 20:16
· 1019 commits to master since this release

⚠️⚠️ WARNING: To use this release you MUST update the gfx files with the released assets here!

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)