mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
input compat fixes
This commit is contained in:
@@ -64,6 +64,15 @@ function drawText(image, input, style, oxStyleTable)
|
||||
text = '<img src="'..(radarTable[image] or "")..'" style="width:12px;height:12px">'..text
|
||||
end
|
||||
ESX.TextUI(text, nil)
|
||||
|
||||
elseif Config.System.drawText == "jim" then
|
||||
for k, v in pairs(input) do
|
||||
input[k] = v.."<br>"
|
||||
end
|
||||
exports["jim-nui"]:drawText({
|
||||
icon = nil,
|
||||
text = text,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user