[UIG]Neo Posted June 3, 2013 Share Posted June 3, 2013 I want to make a GUI panel sliding to the middle of the screen when i press its bind. What's the Code? Link to comment
Castillo Posted June 3, 2013 Share Posted June 3, 2013 bindKey interpolateBetween onClientRender Link to comment
[UIG]Neo Posted June 3, 2013 Author Share Posted June 3, 2013 I meant that if i have a progress bar created i want it to be moved ( dragged ) To a new position on the screen. Thank you by the way. Link to comment
Castillo Posted June 3, 2013 Share Posted June 3, 2013 I'm not sure if I understand what you mean. Link to comment
[UIG]Neo Posted June 3, 2013 Author Share Posted June 3, 2013 Progress bar on my screen, Used function clientResourceStart( ) progressBar = guiCreateProgressBar(996, 188, 225, 34, false) end i want it to be moved to a new position 800, 188 on my screen, not moved by setGuiposition, Moved like a login panel for example, or like a mobile phone appearing from the bottom of the screen to the middle, moving slowly, Being Dragged. Link to comment
Castillo Posted June 3, 2013 Share Posted June 3, 2013 You mean move it like a GUI window? from the top of it. Link to comment
[UIG]Neo Posted June 3, 2013 Author Share Posted June 3, 2013 Nop, it will move on its own when i do the command, Look, Another EXAMPLE, You know C*T server, The mobile phone that appears when you press "B", Same code. Link to comment
Castillo Posted June 3, 2013 Share Posted June 3, 2013 The functions/event I gave you on my first post, these will do what you want. Link to comment
Castillo Posted June 3, 2013 Share Posted June 3, 2013 There's an animation example for GUI using interpolateBetween ( on the wiki of this function you can see examples ). Link to comment
[UIG]Neo Posted June 3, 2013 Author Share Posted June 3, 2013 Give me an example that can take my Progress bar in the code i posted to another position on the screen. 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