Ulysses Stuff > Suggestions

Rank Tags

<< < (2/2)

Aaron113:
This is what I was refering to:  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.

Megiddo:
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.

Willdy:
Sorry for the gravedig.

http://forums.ulyssesmod.net/index.php/topic,5391.0.html


--- Code: ---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
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version