How to create a custom sprite [FiveM Lua]

1.1k Views Asked by At

I have been searching for a way to draw a custom image (.png) on screen.

When I started to look it up, I noticed everyone went for the UI way.

I've already asked how I could do this using one of FiveM's natives and I got the answer of drawSprite()

But now I have a new question; How can I create a custom sprite for the drawSprite() native to call upon? And when I have this custom sprite, how do I use it in the drawSprite() native?

Thanks in advance!

0

There are 0 best solutions below