FlyingSpoon Posted March 1, 2015 Posted March 1, 2015 It goes down like credits etc, How can I make that in actual scripting GUI?! GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
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 ) See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
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. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
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