Jump to content

Colored content


Mefisto_PL

Recommended Posts

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 

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...