Jump to content

Error in scoreboard when adding image via setElementData


Bilal135

Recommended Posts

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 post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...