21 lines
		
	
	
	
		
			688 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			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
 | 
