st.showHintUI / st.hideHintUI — Hint UI (Client)
A persistent hint overlay (title + description + button label).
lua
st.showHintUI(title, text, button)
-- title: string
-- text: string
-- button: key name string (same valid keys as TextUI)
-- Example
st.showHintUI('Nuværende opgave', 'Kør til lageret', 'E')
-- Update without hiding
st.hintUpdate(title, text, button) -- any param can be nil to leave unchanged
-- Hide
st.hideHintUI()The hint is also dismissible by pressing the bound key — it auto-hides on keypress.
Server → Client trigger:
lua
TriggerClientEvent('st_libs:showHintUI', source, title, text, button)