Ulysses
Ulysses Stuff => Suggestions => Topic started by: Marmaduke on August 04, 2011, 09:09:55 AM
-
Is it possible to make it so when players of different ranks use chat or voice communication it will show the players rank before their name in a different colour and brackets? Because at the moment it is possible to put (superadmin) before your name but everyone can do it, and you will have to change your name when you goto a server you dont administrate. Evolve has this feature but ULX is better, and i want to stick with it?
-
http://forums.ulyssesmod.net/index.php/topic,4799.0.html (http://forums.ulyssesmod.net/index.php/topic,4799.0.html)
-
i Mean how your name appears in chat
-
Oops! I swear I seen on here, but I guess it was on garrysmod.org. :-[
-
So does anyone know a way of doing it or a plugin of some sort?
-
This is what I was refering to: http://www.garrysmod.org/downloads/?a=view&id=78835 (http://www.garrysmod.org/downloads/?a=view&id=78835)
There is no plugin specifically made for ULX I believe, but maybe an idea for someone else to make it.
-
I believe UTeam colors the name in chat to the team color (so you can identify superadmins/admins), but it doesn't insert a tag before the name.
-
Sorry for the gravedig.
http://forums.ulyssesmod.net/index.php/topic,5391.0.html
local function lOnPlayerChat( ply, strText, bTeamOnly, bPlayerIsDead )
local tab = {}
local lTeam = 0
if( IsValid( ply ) ) then
lTeam = ply:Team()
end
table.insert( tab, Color( team.GetColor( lTeam ) ) )
table.insert( tab, "[" .. team.GetName( lTeam ) .. "] " )
if ( bPlayerIsDead ) then
table.insert( tab, Color( 255, 30, 40 ) )
table.insert( tab, "*DEAD* " )
end