The Image disappears when talking to an npc
Posted: Tue Feb 09, 2021 3:22 am
by Marioman2007
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?
Re: The Image disappears when talking to an npc
Posted: Tue Feb 09, 2021 3:48 am
by Emral
Re: The Image disappears when talking to an npc
Posted: Tue Feb 09, 2021 4:06 am
by Marioman2007
So, what is the best to use?
Re: The Image disappears when talking to an npc
Posted: Tue Feb 09, 2021 4:09 am
by Emral
Read the page. Don't have to read far.