Hey, I am trying to add coloured names for donaters in my server, yet it does not work and says 'Lua cache could not be downloaded, server is misconfiguied.'
It also spams the console with this,
GamemodeError(Think): No Gamemode!
GamemodeError(DrawMonitors): No Gamemode!
GamemodeError(RenderScreenspaceEffects): No Gamemode!
GamemodeError(HUDPaintBackground): No Gamemode!
GamemodeError(HUDPaint): No Gamemode!
GamemodeError(HUDDrawScoreBoard): No Gamemode!
GamemodeError(PostRenderVGUI): No Gamemode!
My code is:
if SERVER then
AddCSLuaFile("scoreboard.lua")
else
function ColorName( pl )
if pl:SteamID() == "STEAM_0:0:29386544" then -- Will
return Color( 255, 0, 204 )
else
return nil
end
end
hook.Add( "TTTScoreboardColorForPlayer ", "ColorPlayersName", ColorName )
end
:/