Albireo85 Posted June 6, 2013 Author Share Posted June 6, 2013 **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 Thenname = "[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 Thenname = "[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 More sharing options...
Growlith1223 Posted June 6, 2013 Share Posted June 6, 2013 tutorial: this has been done countless times.help: vbCrlf = a new line. you don't want to use that unless you intended to do that. Link to comment Share on other sites More sharing options...
abhi2011 Posted June 6, 2013 Share Posted June 6, 2013 vbCrLf = Carraige Return Line Feed. Like Growl said it creates a new line.Try rendering the tag and the player name differently. Link to comment Share on other sites More sharing options...
Albireo85 Posted June 6, 2013 Author Share Posted June 6, 2013 can some one of u guys make the example code please i am new in vb Link to comment Share on other sites More sharing options...
jackALL Posted June 6, 2013 Share Posted June 6, 2013 where you need to write those codes? Link to comment Share on other sites More sharing options...
abhi2011 Posted June 6, 2013 Share Posted June 6, 2013 > can some one of u guys make the example code please i am new in vbRender 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 More sharing options...
Coludios Posted June 10, 2013 Share Posted June 10, 2013 Hey guys please help me,from where to where put this => **name = Trim$(Player(Index).name) & " [" & GetPlayerLevel(Index) & "]"****If GetPlayerAccess(Index) = 4 Thenname = "[GM] " & Trim$(Player(Index).name)End If**into the modtext? Link to comment Share on other sites More sharing options...
abhi2011 Posted June 10, 2013 Share Posted June 10, 2013 Yep.DrawPlayerName or something like that. Link to comment Share on other sites More sharing options...
aditya20 Posted July 15, 2014 Share Posted July 15, 2014 good tutor bro Link to comment Share on other sites More sharing options...
hisherwin Posted July 15, 2014 Share Posted July 15, 2014 Is this a Tutorial?Why don't you just draw another text which the y value is different? Link to comment Share on other sites More sharing options...
abhi2011 Posted July 15, 2014 Share Posted July 15, 2014 > Is this a Tutorial?> > > > Why don't you just draw another text which the y value is different?> good tutor broThis isn't a tutorial Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now