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