From 7c11e00e87b3f0f56e1ef7f45fe45954151353ba Mon Sep 17 00:00:00 2001 From: Blue <13604413+Bluethefurry@users.noreply.github.com> Date: Thu, 19 Mar 2020 10:38:58 +0100 Subject: [PATCH] quickfix to disable controller support --- gui_c.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui_c.lua b/gui_c.lua index 05b7ee14..47f19291 100644 --- a/gui_c.lua +++ b/gui_c.lua @@ -71,7 +71,7 @@ Citizen.CreateThread(function() if _menuPool then _menuPool:ProcessMenus() end - if IsControlJustReleased(0, settings.button) and isAdmin == true then --M by default + if (IsControlJustReleased(0, settings.button) and GetLastInputMethod( 0 ) ) and isAdmin == true then --M by default -- clear and re-create incase of permission change+player count change if strings then