Jump to content

help with country


*FuN

Recommended Posts

                                    end 
                                    local partOfName = string.sub( playerName, firstCodePos, secondCodePos ) 
                                    local textLength = dxGetTextWidth( partOfName, fontscale(contentFont, s(1)), contentFont ) 
                                    dxDrawText( partOfName, xPos+s(1),  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( partOfName, xPos,       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 ) 
                                    xPos = xPos + textLength 
                                end 
                            else 
                                dxDrawText( content, topX+theX+s(1),    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( content, topX+theX,         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 ) 
                            end 
                        end 
                        x = x + s(column.width + 10) 
                        elseif column.name == "Home" then 
    dxDrawImage( topX+theX, y+s(1), 16, 11, content, 0, 0, 0, cWhite, drawOverGUI )  
    else 
                end 
                local font = iif( element and isElement( element ) and getElementType( element ) == "team", teamHeaderFont, contentFont ) 
                y = y + dxGetFontHeight( fontscale(font, scoreboardScale), font ) 
                index = index + 1 
            end 
            index = 1 
        end 
    end 
end 

what is wrong ?»?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...