Help drawing a box with text

How would I go about making a little hint or whatever saying something like “Press e to …”.
Basically a black rectangle on the screen with text inside

1 Like

Well use this function

function DisplayHelpText()
    SetTextComponentFormat("STRING")
    AddTextComponentString("~g~Green Text.")
    DisplayHelpTextFromStringLabel(0, 0, 1, -1)
end

Then trigger it when inside coordinates or a marker with

If inside something then
    DisplayHelpText()
4 Likes

Thank you, just what I was looking for

No worries.

(20 Chars)

Awesome. Glad I found this topic. :slightly_smiling_face:

what about if you want it on the right side or somewhere else on the screen as it appears now its behind the chat window