SirniNamaz Posted October 20, 2012 Posted October 20, 2012 how to fade the screen but not completely, only about 50%?
SirniNamaz Posted October 20, 2012 Author Posted October 20, 2012 well that fades it to gray, but i want it to be 50% transparent black
Techial Posted October 20, 2012 Posted October 20, 2012 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 October 20, 2012 Posted October 20, 2012 local sw,sh = guiGetScreenSize() addEventHandler("onClientRender",root, function() dxDrawRectangle(0,0,sw,sh,tocolor(0,0,0,255/2)) end )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now