SirniNamaz Posted October 20, 2012 Share Posted October 20, 2012 how to fade the screen but not completely, only about 50%? Link to comment
Techial Posted October 20, 2012 Share Posted October 20, 2012 fadeCamera (false, 0, 127.5, 127.5, 127.5 ) Link to comment
SirniNamaz Posted October 20, 2012 Author Share Posted October 20, 2012 well that fades it to gray, but i want it to be 50% transparent black Link to comment
Techial Posted October 20, 2012 Share 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. Link to comment
Guest Guest4401 Posted October 20, 2012 Share Posted October 20, 2012 local sw,sh = guiGetScreenSize() addEventHandler("onClientRender",root, function() dxDrawRectangle(0,0,sw,sh,tocolor(0,0,0,255/2)) end ) Link to comment
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