Mefisto_PL Posted November 3, 2012 Posted November 3, 2012 Why it doesn't working?! This is in scoreboard_client.lua .. I want to make colored content but it doesn't working : C for key, column in ipairs( scoreboardColumns ) do local r, g, b, a = fromcolor( cContent ) if not useColors then r, g, b = 255, 255, 255 end local theX = x local content = scoreboardContent[index][column.name] if content and column.name == "name" then if useColors then r, g, b = getTeamColor( element ) end theX = x - s(3) local theX = x if content and column.name == "ping" then if getPlayerPing ( player ) == 0 then if useColors then r, g, b = 255, 0, 0 end end theX = x - s(3) end end
Castillo Posted November 3, 2012 Posted November 3, 2012 Is the colorCoded argument of dxDrawText set to 'true'?
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