Jump to content

dxDrawimage fits all resolution


Oussema

Recommended Posts

look at this with 1440,900 

and look at this with 1366,768

 

code:  

	for ii, v in pairs (ranksun[jobname]) do
	dxDrawImage(x*599, y*(473)+(29*ii), x*350, y*40, "jobranks/rank_data.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) 
	dxDrawText(v, x*599, y*(598)+(58*ii), x*949, y*385, tocolor(0, 204, 0, 255), 1.00, dxfont1_AGENCYR, "center", "center", false, false, false, false, false) 
	end

 

Link to comment
1 hour ago, NeXuS™ said:

Try to replace line nr. 3 with:


dxDrawText(v, x*599, y*(473)+(29*ii), x*599+x*350, y*(473)+(29*ii)+y*40, y, tocolor(0, 204, 0, 255), 1.00, dxfont1_AGENCYR, "center", "center", false, false, false, false, false)

bro the texts are fine but i'm talking about the image look at the images xD 

Link to comment

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...