Is there some way to correlate ULX Ranks with the deathrun scoreboard, so that I can have colored names on the deathrun scoreboard? Is it a plugin, or do I legit have to hard code it?
So you want your name on the scoreboard to be a different colour or for it to show your rank with text?
I want my moderators to have a green name on the scoreboard, and me have a red name, or something along those lines.
Alright this is quite easy to do, navigate to your cl_init.lua file and find the function called GetScoreboardNameColor. In that function put this in there.
[Lua]if ply:IsUserGroup( “moderator” ) then
return Color( 0, 255, 0, 255 )
elseif ply:IsUserGroup( “owner” ) then
return Color( 255, 0, 0, 255 )
There so just change the usergroup to what your ULX groups are and play around with the colors. Also to add more groups just copy that format.