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

How to show GM in character (Tutorial An Help)


Albireo85
 Share

Recommended Posts

**hello friends, do not know if this topic is in the forum, but I wanted to change and put the name of gm and worked**

**![](http://oi40.tinypic.com/dg1ld5.jpg)**

**in ModText**

**```

name = Trim$(Player(Index).name) & " [" & GetPlayerLevel(Index) & "]"

If GetPlayerAccess(Index) = 4 Then

name = "[GM] " & Trim$(Player(Index).name)

End If

```**

**but i wanth the word GM be o the top of the name and i add this to the code**

**& vbCrLf**

**```

name = Trim$(Player(Index).name) & " [" & GetPlayerLevel(Index) & "]"

If GetPlayerAccess(Index) = 4 Then

name = "[GM] " & vbCrLf & Trim$(Player(Index).name)

End If

```**

**and end like this**

**![](http://oi41.tinypic.com/2yxfbmd.jpg)**

**if someone helps me with this I'll be grateful**
Link to comment
Share on other sites

> can some one of u guys make the example code please i am new in vb

Render the text 10-20 pixels above x. (Get x by using the sub ConvertMapX and passing the players X coord with respect to the map tiles.)

The same for Y.

Render the Tag above it or the name below depending on which you rendered first.
Link to comment
Share on other sites

Hey guys please help me,

from where to where put this => **name = Trim$(Player(Index).name) & " [" & GetPlayerLevel(Index) & "]"**

**If GetPlayerAccess(Index) = 4 Then
name = "[GM] " & Trim$(Player(Index).name)
End If**

into the modtext?
Link to comment
Share on other sites

  • 1 year later...

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