Hero192 Posted March 8, 2016 Share Posted March 8, 2016 Hey, I want to make my own topbarchat, I scripted the basic, but now I want to know how to make the rectangle and text moving from top to down I tried that but I failed Part of my code: local sx,sy = guiGetScreenSize() for index, message in ipairs(messages) do dxDrawRectangle(sx/2 - 402, (index*21), 562, 21, tocolor(0, 0, 0, 190),false) dxDrawText(message[1], sx/2, (index*21), sx/2, 5, message[3], 0.90, "default-bold", "left", "top", false) end Original Drawed render, dxDrawRectangle(402, 0, 562, 21, tocolor(0, 0, 0, 188), false) dxDrawText(" ", 534, 4, 834, 21, tocolor(255, 255, 0, 200), 0.90, "default-bold", "left", "top", false, false) Link to comment
Johnny Killstone Posted March 8, 2016 Share Posted March 8, 2016 You can learn by looking at the open source alternatives like this for instance. Link to comment
Hero192 Posted March 8, 2016 Author Share Posted March 8, 2016 I wont a done code, I want someone who can learn me please 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