RegisterCommand("mapinfo",function()
local data = {
title = "title",
subTitle = "subTitle",
texture = {
dict = "pausemenu_textures",
name = "horse_background",
},
description = [[
Description
Line 2
Line 3
Line 4
Description
Line 6
]],
footer = "footer2",
hovered = true,
hoveredname = "hoveredname",
}
exports["qadr_ui"]:createMapInfo(data,function(callbackData)
if callbackData then
print("mapinfo callback")
end
end)
end)