diff --git a/[esx]/es_extended/client/functions.lua b/[esx]/es_extended/client/functions.lua index f31ef975..53fdb072 100644 --- a/[esx]/es_extended/client/functions.lua +++ b/[esx]/es_extended/client/functions.lua @@ -169,6 +169,10 @@ if GetResourceState("esx_context") ~= "missing" then function ESX.CloseContext(...) exports["esx_context"]:Close(...) end + + function ESX.RefreshContext(...) + exports["esx_context"]:Refresh(...) + end else function ESX.OpenContext() print("[ERROR] Tried to open context menu, but esx_context is missing!") @@ -181,6 +185,10 @@ else function ESX.CloseContext() print("[ERROR] Tried to close context menu, but esx_context is missing!") end + + function ESX.RefreshContext() + print("[ERROR] Tried to close context menu, but esx_context is missing!") + end end