General > Developers Corner
Tab menu
Livaco:
Another Code If That One Doesent Work
--- Code: ---local Var = math.abs( math.sin( CurTime() * 2 ) )
TextColor = Color( Var * 255, Var * 255, Var * 255 )
--- End code ---
brycenmm:
--- Quote from: Livaco on April 12, 2015, 01:12:54 PM ---Another Code If That One Doesent Work
--- Code: ---local Var = math.abs( math.sin( CurTime() * 2 ) )
TextColor = Color( Var * 255, Var * 255, Var * 255 )
--- End code ---
--- End quote ---
And where does this stuff go?
Livaco:
--- Quote from: brycenmm on April 12, 2015, 06:36:23 PM ---And where does this stuff go?
--- End quote ---
No idea. Try going into the file and creating a new .lua file
Buzzkill:
You'd want to look in your current scoreboard (something like cl_scoreboard.lua, cl_hud_score.lua, etc.. depending on your gamemode), locate where in the code it's building and displaying player names and adjust accordingly.
brycenmm:
--- Quote from: Buzzkill on April 13, 2015, 05:22:42 AM ---You'd want to look in your current scoreboard (something like cl_scoreboard.lua, cl_hud_score.lua, etc.. depending on your gamemode), locate where in the code it's building and displaying player names and adjust accordingly.
--- End quote ---
I'm not a coder at all. Something like where I'd put if their rank is something their name glows?
« Reply #4 on: Yesterday at 10:36:08 AM »
QuoteModifyRemove
Like liv said, however the name itself on the scoreboard glows, and it glows different colors depending on the rank. So, say your rank is super admin, your name glows red. Say you're a vip, your name glows yellow, and mod grows green, admin blue, etc.
Modify message
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version