Flipi Posted October 12, 2013 Share Posted October 12, 2013 Hi, How I can put a rectangle on top of the scoreboard? Screen: http://imageshack.us/a/img7/5198/o6kq.png Screen2: http://imageshack.us/a/img9/2231/lzji.png (obviously to see the server name) Link to comment
iMr.3a[Z]eF Posted October 12, 2013 Share Posted October 12, 2013 I don't think this will be easy. But possible. I don't know the way Link to comment
Flipi Posted October 12, 2013 Author Share Posted October 12, 2013 I don't think this will be easy. But possible. I don't know the way I know you can put a dxDrawRectangle , but I don't know how to make measures adapt to the scoreboard. in the line 530 is the part of the server name of scoreboard. (dxscoreboard_client.lua) Line 530: dxDrawText( "Server: " .. serverInfo.server, topX+s(5), y, topX+scoreboardDimensions.width-s(10), y+dxGetFontHeight( fontscale(serverInfoFont, scoreboardScale), serverInfoFont ), cServerInfo, fontscale(serverInfoFont, s(0.75)), serverInfoFont, "left", "top", false, false, drawOverGUI ) Link to comment
Flipi Posted October 13, 2013 Author Share Posted October 13, 2013 I already solved this it (post closed) 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