Framework Integration
Text Display
DrawTextEveryTick = function (text, coords)
BeginTextCommandDisplayHelp("STRING")
AddTextComponentSubstringPlayerName(text)
EndTextCommandDisplayHelp(2, false, false, 0)
SetFloatingHelpTextStyle(1, 1, 2, 191, 3, 0)
SetFloatingHelpTextWorldPosition(1, coords.x, coords.y, coords.z + 1.0)
end,ShowText = function (text, coords)
exports['ox_lib']:showTextUI(text)
end,
HideText = function ()
exports['ox_lib']:hideTextUI()
end,ShowText = function (text, coords)
exports['okokTextUI']:Open(text, 'darkblue', 'right')
end,
HideText = function ()
exports['okokTextUI']:Close()
end,Example Configuration
Last updated