So, I wanted to make a custom hud. But I got a issue where the loaded image disappears when I talk to a npc.
Here's a Gif:
(See the pipe)
The Code:
Code: Select all
local coin = Graphics.loadImage(Misc.resolveFile("modernhud-2.png"))
function onTick()
Graphics.draw{
type = RTYPE_IMAGE,
image = coin,
x = 500,
y = 100,
priority = 0,
}
end
Can anyone Help me?