Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Making A Specific name have custom properties!


SpiceyWolf
 Share

Recommended Posts

Ok this is more of if ur like the leader and you want specific people to have a difference in their name… example like with my old tutorial of having the gm tags mix with level...(also works with player name) u could completely void that for certain players... changing color of name ect...

(If you have any other mods that are a slight tweek to this lemme know ill do my best to get it :P)

Lol i know i seem to only like doing modtext tut's but that will change eventually... when i can get something working 100% bug free somewhere else >.>

LETS BEGIN

Ok first begin by searching for the name code again... (u can just go to modtext and search
"Name =" )

And start of by putting

```
Select Case Index
    Case 1
        (Player Mods Code)
    Case 2
        (The universal player name mods like my last ones)
    End Select

```
Ok now you can make however player mods u like, but u have to put them in separate cases. ALSO make sure however many u add that the code that pretty much works for all players last…
NOW heres how to make specif player mods... (works with levels)

example u put

```
If Trim$(Player(Index).Name) = "(this is the player name in quotes)" Then
(this is the custom mod to name... you can change name, or w/e...)
End If

```
If u want to change color from a certain name (main point of this is if you want to make urself stand out) then add under that top code or at least "A" line under "Then"

```
color = QBColor(color name here)

```
DONE example for what i have in my game is

```
Select Case Index
    Case 1
    If Trim$(Player(Index).Name) = "SpiceyWolf" Then
        Name = "THE BOSS OF THE GAME" & GetPlayerLevel(Index) + 2
        Color = QBColor(Cyan)
        End If
    Case 2
    If frmMain.ChkPlyr = 1 Then
        If frmMain.ChkLv = 1 Then
            If GetPlayerAccess(Index) = 0 Then
            Name = Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 1 Then
            Name = "[Moderator] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 2 Then
            Name = "[Mapper] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 3 Then
            Name = "[Developer] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 4 Then
            Name = "[Adminitrator] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 5 Then
            Name = "[Co-Owner] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 6 Then
            Name = "[Creator/Owner] " & Trim$(Player(Index).Name)

        End If

    Else

            If GetPlayerAccess(Index) = 0 Then
            Name = Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 1 Then
            Name = "[Moderator] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 2 Then
            Name = "[Mapper] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 3 Then
            Name = "[Developer] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 4 Then
            Name = "[Adminitrator] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 5 Then
            Name = "[Co-Owner] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 6 Then
            Name = "[Creator/Owner] " & Trim$(Player(Index).Name)
        End If
    End If

Else

    If frmMain.ChkLv = 1 Then
            If GetPlayerAccess(Index) = 0 Then
            Name = " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 1 Then
            Name = "[Moderator] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 2 Then
            Name = "[Mapper] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 3 Then
            Name = "[Developer] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 4 Then
            Name = "[Adminitrator] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 5 Then
            Name = "[Co-Owner] " & Trim$(Player(Index).Name) & " Lv" & GetPlayerLevel(Index)
            ElseIf GetPlayerAccess(Index) = 6 Then
            Name = "[Creator/Owner] " & Trim$(Player(Index).Name)
        End If

    Else

            If GetPlayerAccess(Index) = 0 Then
            ElseIf GetPlayerAccess(Index) = 1 Then
            Name = "[Moderator] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 2 Then
            Name = "[Mapper] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 3 Then
            Name = "[Developer] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 4 Then
            Name = "[Adminitrator] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 5 Then
            Name = "[Co-Owner] " & Trim$(Player(Index).Name)
            ElseIf GetPlayerAccess(Index) = 6 Then
            Name = "[Creator/Owner] " & Trim$(Player(Index).Name)
        End If
    End If
End If

```
I changed my name specifically out of all players… gave myself a color that no one else will ever have(i changed access colors too) and made it look like my level was 2 higher >.>

ANYWAY i figured this out all on my own. So i hope u enjoy :P I can feel proud i didnt get any help from other tut's to do this
Link to comment
Share on other sites

The reason i came up with this whole code is cuz i have been on games in the past where other mods wanna double cross u… so i made this so u make ur name something stupid and change it with this mod that way they cant do stuff to u like set ur access lower or ban you and stuff... only u can mod urself :P
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...