Building inventory without using NUI and attempting to draw images at the moment.
function testSprite() local txd = CreateRuntimeTxd('textures') local tx = CreateRuntimeTextureFromImage(txd, 'water', 'waterbottle.png') DrawSprite("textures", "water", 0.5, 0.5, 0.1, 0.1, 0, 0, 0, 0, 120) end
This is my current code. The .lua is in a folder and inside is another folder named “textures” where watterbottle.png is located. I presume I’m not understanding the correct way to go to the file path. Any ideas?