FlyingSpoon Posted March 1, 2015 Posted March 1, 2015 It goes down like credits etc, How can I make that in actual scripting GUI?!
Mr.unpredictable. Posted March 2, 2015 Posted March 2, 2015 use R3mp's GUI Editor https://community.multitheftauto.com/ind ... ils&id=141
Anubhav Posted March 2, 2015 Posted March 2, 2015 Make a dx text and then disable CLIP. At the render add the text like this. credits = "something" dxDrawText( credits, your_arugments ) addEventHandler( "onClientRender", root, function ( ) credits = "\n"..credits end )
Dealman Posted March 2, 2015 Posted March 2, 2015 For a smooth transition you'll need to use a render target, and draw the text on it. Then simply move the text upwards or downwards. Anub's method is easier to do, but it will look choppy and you can't really control the scrolling as easily.
DakiLLa Posted March 2, 2015 Posted March 2, 2015 What abou scroll panes? You could create one, disable it's scroll bars, put bunch of text labels inside and then make it scroll inside the "onClientRender" event. guiCreateScrollPane guiCreateLabel guiScrollPaneSetScrollBars -- to turn the scrollbars off + "onClientRender"
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