Jump to content

fade screen but not completely?


SirniNamaz

Recommended Posts

Posted

You may fade it for 3 seconds, then after 1,5 seconds you fade it out again and use dxDrawRectangle ?

------------------------------------------

Or else you could use dxDrawRectangle, and decrease the alpha untill it reaches 127,5.

Guest Guest4401
Posted
local sw,sh = guiGetScreenSize() 
  
addEventHandler("onClientRender",root, 
    function() 
        dxDrawRectangle(0,0,sw,sh,tocolor(0,0,0,255/2)) 
    end 
) 

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