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