Main/resources/[inventory]/mr-consumables/open/client/cl_functions.lua
2025-06-07 08:51:21 +02:00

21 lines
688 B
Lua

function ShowTextUI(text) -- You Can Use This Function To Show Text UI
if CLConfig.UI.TextUI == "gta" then
AddTextEntry("textUIEntry", text)
BeginTextCommandDisplayHelp("textUIEntry")
EndTextCommandDisplayHelp(0, true, true, -1)
elseif CLConfig.UI.TextUI == "ox_lib" then
lib.showTextUI(text)
end
end
function HideTextUI() -- You Can Use This Function To Hide Text UI
if CLConfig.UI.TextUI == "gta" then
ClearAllHelpMessages()
elseif CLConfig.UI.TextUI == "ox_lib" then
lib.hideTextUI()
end
end
function Notify(text, type) -- You Can Put Your Own Notification System Here
Core.Functions.Notify(text, type)
end