This commit is contained in:
Nikita Kruglickiy
2021-04-03 21:08:08 +06:00
parent 1e9e783ee6
commit eb6144ae94
22 changed files with 1440 additions and 282 deletions

View File

@@ -45,6 +45,10 @@ function GUI:initialize(renderDevice)
self._lastMouseX = 0
self._lastMouseY = 0
hook.add("think", "gui_think", function()
if not hasPermission("input") then
return
end
if input.getCursorVisible then
local x, y = input.getCursorPos()