diff --git a/[esx]/esx_context/main.lua b/[esx]/esx_context/main.lua index 8a2769c9..0a0567d7 100644 --- a/[esx]/esx_context/main.lua +++ b/[esx]/esx_context/main.lua @@ -13,6 +13,9 @@ function Post(fn,...) end function Open(position,eles,onSelect,onClose,canClose) + if canClose == nil then + canClose = true + end activeMenu = { position = position, eles = eles,