Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2024, 12:03:53 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Need help with coloured names in scoreboard
Pages: [1]
Author Topic: Need help with coloured names in scoreboard  (Read 3187 times)
Willy
Poster

Posts: 2


« on: June 06, 2011, 09:52:18 PM »

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,

Quote
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


:/
Handy_man
Poster

Posts: 308


SNG community admin


« Reply #1 on: June 06, 2011, 11:20:57 PM »

I'm going to ask the first question everyone will ask, did you upload your new cache file to your fastdl hosting of sorts? thats why the cache would be misconfigured.

[b]
Sky-netgaming.com
Tommynator
Poster

Posts: 173

Tommynator is a traitor!


« Reply #2 on: June 07, 2011, 11:33:30 AM »

Exactly, it doesn't have anything to do with the lua codes
Willy
Poster

Posts: 2


« Reply #3 on: June 07, 2011, 03:54:35 PM »

Ok, where is the cache located?

EDIT: Got it.
« Last Edit: June 07, 2011, 03:58:47 PM by Willy »
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Need help with coloured names in scoreboard « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.01 seconds with 18 queries.