Newbie Posted October 6, 2014 Share Posted October 6, 2014 1. Is it possible to make a image at whole screen at all resolutions ? Or, is there any way to make a screen blacker like if i press F7 and screen gets a bit darker and after i press again it goes back to normal ? 2. How to centerize gui label ? Thanks. Link to comment
Mr_Moose Posted October 6, 2014 Share Posted October 6, 2014 These functions will solve #1 local sizeX,sizeY = guiGetScreenSize() -- Get the size of a client screen fadeCamera(player, false, 0) -- Make the screen black and this will solve #2 sizeX/2 sizeY/2 Link to comment
Newbie Posted October 7, 2014 Author Share Posted October 7, 2014 Uhm.. 1, fades in totaly black is there any way to fade that wont be black, like apha: 0.2 Link to comment
pa3ck Posted October 7, 2014 Share Posted October 7, 2014 Whole screen image for every single resolution: guiCreateStaticImage ( 0, 0, 1, 1, "image.png", true ) For camera, you can use the optional arguments for fadeCamera ( RGB colors ) Link to comment
Newbie Posted October 7, 2014 Author Share Posted October 7, 2014 Thanks guys, made what i needed 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