MisterQuestions Posted December 12, 2014 Posted December 12, 2014 Hey all, i have a dude, and its how to make something drawed scrollable like memo's that you cna scroll text and that?? "El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más". Att: -|TG|-Mister[Q]<.
.:HyPeX:. Posted December 12, 2014 Posted December 12, 2014 onClientKey dxDrawRectangle interpolateBetween My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
MisterQuestions Posted December 18, 2014 Author Posted December 18, 2014 Any example or something to understand it? "El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más". Att: -|TG|-Mister[Q]<.
MTA Team botder Posted December 19, 2014 MTA Team Posted December 19, 2014 You could actually copy the scrolling from my debugconsole resource GitHub: Debug Console • MTA-Discord Relay Scripting: How to draw a line chart with DirectX functions? • Doppler Effect in MTA • Get the client's FPS • Customizable Blur Shader
MisterQuestions Posted December 19, 2014 Author Posted December 19, 2014 But..i dont understand it so well "El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más". Att: -|TG|-Mister[Q]<.
MTA Team botder Posted December 19, 2014 MTA Team Posted December 19, 2014 Your memo has to show some lines with text. That means you have to store, which memo is visible including the text for each memo. gMemo = { { messages = {}, visible = true }, { messages = {}, visible = true } } -- each index is one line Each memo has it's own size. That means you have to store the size of the memo. gMemo = { { messages = {}, visible = true, width = 300, height = 300 }, { messages = {}, visible = true, width = 400, height = 400 } } Your memo can only show a part of the text. That means you have to store the position, where the text starts and how many lines it can show. gMemo = { { messages = {}, visible = true, width = 300, height = 300, position = 0, linecount = 8 }, { messages = {}, visible = true, width = 400, height = 400, position = 15, linecount = 10 } } You can add more of course, but that should give you a small help for the beginning. Possible functions: dxCreateMemo dxMemoSetSize dxMemoGetSize dxMemoClear dxMemoSetText dxMemoGetText dxMemoRender dxMemoSetLine dxMemoGetLine dxMemoSetVisible dxMemoGetVisible dxMemoDestroy GitHub: Debug Console • MTA-Discord Relay Scripting: How to draw a line chart with DirectX functions? • Doppler Effect in MTA • Get the client's FPS • Customizable Blur Shader
MisterQuestions Posted December 24, 2014 Author Posted December 24, 2014 Any other example? Im triying to make this little list...but with the time user will need to add more people, so this should be scrolled...how to make it?? "El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más". Att: -|TG|-Mister[Q]<.
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