Jump to content

Hiddenall resource changes screen looking


Sex*

Recommended Posts

Posted

So I downloaded some screen cleaner resource:

local screenWidth,screenHeight = guiGetScreenSize() 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        myScreenSource = dxCreateScreenSource ( screenWidth, screenHeight )          
    end 
) 
     
function cleanmyscreen() 
    if myScreenSource then 
        dxUpdateScreenSource( myScreenSource )                   
        dxDrawImage( screenWidth - screenWidth,  screenHeight - screenHeight,  screenWidth, screenHeight, myScreenSource, 0, 0, 0, tocolor (255, 255, 255, 255), true)       
    end 
end 
  
  
function tooglecleanmyscreen () 
enabled = not enabled 
if enabled then 
    addEventHandler( "onClientRender", root, cleanmyscreen) 
    else 
    removeEventHandler( "onClientRender", root, cleanmyscreen) 
end 
end 
bindKey ("f2", "down", tooglecleanmyscreen) 

But it changes my screen looking, in pictures you can see that if its enabled then the textures aren't "shiny" anymore:

Not enabled and more beatiful:

0105552347b083f.jpg

Enabled and screen is darker:

01055523492d649.jpg

SO how to fix it?

Posted

Because that functions draws you screen source, which is not as good as a real screen. There is no way to fix it, you will need to manually disable the HUD.

  • Moderators
Posted

Works wonderful against lagg. (especially disable haze heat)

setBlurLevel(0) 
setHeatHaze (0) 

Your problem > Edit the shader.....

  • 3 weeks later...
Posted
Works wonderful against lagg. (especially disable haze heat)
setBlurLevel(0) 
setHeatHaze (0) 

Your problem > Edit the shader.....

I dont have a shader, I have UltraThing. But if it's not fixable then im just going to disable the HUD.

Posted

You draw a giant picture on top of your normal screen.

Thats totally stupid. If you want a clear screen edit your scripts to hide the HUD/nametags, whatever.

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