Jump to content

Resolution


TorNix~|nR

Recommended Posts

Posted

Hello guys, I have a hud script, when I make it like this on the top and right
 

dxDrawImage(sWidth-300,170,400,150,"icons/".. tostring(weaponID) .. ".png",0.0,0.0,0.0,tocolor(255,255,255,255),false)

it shows to all, from the 800x600 to the 1920x1080, with the same place

but when I make it on bottom and left (up to radar) like this

dxDrawImage(sWidth-1900,600,400,150,"icons/".. tostring(weaponID) .. ".png",0.0,0.0,0.0,tocolor(255,255,255,255),false)

it only show for high resolutions like 1920x1080 (I'm currently use)

any help please to fix it?

Posted

Have a look at this tutorial: 

It makes things look fine on any resolution. If the first method seems hard for you i posted an easier one as a reply. At least it's easier for me. Good luck! 

  • Thanks 1

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