Jump to content

Full screen image


joao1234

Recommended Posts

  • Moderators

By using factors, you have to keep in mind that there are differed aspect ratio's.

(16:9)_(16:10)_(15:9)_(4:3)

The best quality is making it at 1920x1080.

But I will recommend to create the picture at 1024 x 768, to reduce the file size.

local x,y = guiGetScreenSize () 
local factor = x / 1024 
local newY = y*factor 
  
  
addEventHandler("onClientRender", getRootElement(), 
function () 
  dxDrawImage ( 0, 0, x, newY, '___.png') 
end) 
  
  

The picture will be bigger then the screen, but it won't be pressed together.

@EstrategiaGTA

Froze me? (chaos.de)

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