Admin Tags in Eclipse worlds

This shows if you are admin or owner.

First find this: Public Sub DrawPlayerName.

then find


    text = Trim$(Player(Index).Name)
    TextX = GetPlayerTextX(Index) - GetFontWidth(text)

and replace with


    If GetPlayerAccess(Index) = 0 Then
        text = Trim$(Player(Index).Name)
    ElseIf GetPlayerAccess(Index) = 1 Then
        text = "[MOD] " & Trim$(Player(Index).Name)
    ElseIf GetPlayerAccess(Index) = 2 Then
        text = "[MPR] " & Trim$(Player(Index).Name)
    ElseIf GetPlayerAccess(Index) = 3 Then
        text = "[ADM] " & Trim$(Player(Index).Name)
    ElseIf GetPlayerAccess(Index) = 4 Then
        text = "[DEV] " & Trim$(Player(Index).Name)
    ElseIf GetPlayerAccess(Index) = 5 Then
        text = "[Owner] " & Trim$(Player(Index).Name)
    End If
    TextX = GetPlayerTextX(Index) - GetFontWidth(text)

You can change the titles to anything you want.

Not to be an as$ or anything but theres already like 3 tutorials for this.

I know just was trying to get others to share codes they made for worlds.

Your name color is already different is it not? I don’t know what else a player would need. Well, I guess I could add something handy in 1.3.0 for it like star chat icons. I think adding tags like that by the name are ugly.

Log in to reply