Bilal135 Posted September 11, 2020 Share Posted September 11, 2020 I'm trying to add an image in scoreboard but i'm getting this error: https://imgur.com/a/XCIx2F9 this is the line in dxscoreboard_client.lua: dxDrawImage ( topX+theX, y, itemWidth, itemHeight, content.src, content.rot, content.rotOffX, content.rotOffY, content.color, drawOverGUI ) and this is what im doing, setElementData(source, "Rank", {type = "image", src="admin.png"}) Thanks. Link to comment
Moderators Patrick Posted September 11, 2020 Moderators Share Posted September 11, 2020 (edited) admin.png is not exists. Make sure about file exists and added to meta.xml. Edited September 11, 2020 by Patrick Link to comment
Bilal135 Posted September 12, 2020 Author Share Posted September 12, 2020 It does exist and its in meta.xml.. Link to comment
Tekken Posted September 12, 2020 Share Posted September 12, 2020 You sure it’s not like "image/admin.png" ? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now