1LoL1 Posted December 17, 2015 Share Posted December 17, 2015 Hello, i edited scoreboard and added Country and Image in one column. now it's and i see " AR" but i need to: "AR " local imageX = (dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4))*1.4 dxDrawImage(topX+theX+s(1), y+s(1.9), imageX,dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4),countryString,0,0,0,tocolor(255,255,255,a or 255)) dxDrawText( countryName, topX+theX+s(6)+imageX, y+s(1), topX+x+s(1+column.width), y+s(11)+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawText( countryName, topX+theX+s(5)+imageX, y, topX+x+s(column.width), y+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) else Link to comment
koeno100 Posted December 17, 2015 Share Posted December 17, 2015 local imageX = (dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4))*1.4 dxDrawText( countryName, topX+theX+s(6)+imageX, y+s(1), topX+x+s(1+column.width), y+s(11)+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawText( countryName, topX+theX+s(5)+imageX, y, topX+x+s(column.width), y+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawImage(topX+theX+s(1), y+s(1.9), imageX,dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4),countryString,0,0,0,tocolor(255,255,255,a or 255)) else Link to comment
1LoL1 Posted December 17, 2015 Author Share Posted December 17, 2015 local imageX = (dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4))*1.4 dxDrawText( countryName, topX+theX+s(6)+imageX, y+s(1), topX+x+s(1+column.width), y+s(11)+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawText( countryName, topX+theX+s(5)+imageX, y, topX+x+s(column.width), y+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawImage(topX+theX+s(1), y+s(1.9), imageX,dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )-s(4),countryString,0,0,0,tocolor(255,255,255,a or 255)) else Thanks but I have done it myself Link to comment
#RooTs Posted December 18, 2015 Share Posted December 18, 2015 give-me one image of your score, please Link to comment
1LoL1 Posted December 18, 2015 Author Share Posted December 18, 2015 give-me one image of your score, please Why? I do not want to show things that I have on the server. To see Give me skype. 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