[need some help] NUI Mouse cursor stuck screen

Hi, i need some help, when i close a NUI menu, the mouse gets stuck on screen and i cant move or do anything. The only thing i can do is use F8 quit. Somebody knows how to fix it??


It happens to me with several scripts that use NUI

Hi, even if you press ESC ? Sorry for en

Yes but nothing happens

Make a command and just call “SetNuiFocus(false, false)” like

RegisterCommand("nuiclose", function(source, args, rawCommand)
	SetNuiFocus(false, false)
end, false)
1 Like