local function DrawTexture(textureStreamed,textureName,x, y, width, height,rotation,r, g, b, a, p11)
if not HasStreamedTextureDictLoaded(textureStreamed) then
RequestStreamedTextureDict(textureStreamed, false);
else
DrawSprite(textureStreamed, textureName, x, y, width, height, rotation, r, g, b, a, p11);
end
end
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
DrawTexture("itemtype_textures", "itemtype_animal", 0.5, 0.5, 0.051, 0.051, 0.0, 0, 0, 0, 240, false);
end
end)
<h3>Texture dictionary hashname (hash):</h3>
<h2>itemtype_textures (-109457791)</h2><h4>[download full pack <a href="https://femga.com:8080/images/samples/ui_textures/itemtype_textures.zip">with bg</a> / <a href="https://femga.com:8080/images/samples/ui_textures_no_bg/itemtype_textures.zip">without bg</a>]</h4> <h2>shaving_menu (1053464672)</h2><h4>[download full pack <a href="https://femga.com:8080/images/samples/ui_textures/shaving_menu.zip">with bg</a> / <a href="https://femga.com:8080/images/samples/ui_textures_no_bg/shaving_menu.zip">without bg</a>]</h4> <h2>swatches_gunsmith (-1441063855)</h2><h4>[download full pack <a href="https://femga.com:8080/images/samples/ui_textures/swatches_gunsmith.zip">with bg</a> / <a href="https://femga.com:8080/images/samples/ui_textures_no_bg/swatches_gunsmith.zip">without bg</a>]</h4>