Geotri Posted June 13, 2013 Author Share Posted June 13, 2013 _**Client Side:**_in modText(code)Search```Public Sub DrawPlayerName(ByVal Index As Long)```Under```Dim Name As String```Paste```Dim LV As String```Search```TextY = ConvertMapY(GetPlayerY(Index) * PIC_Y) + Player(Index).YOffset - (DDSD_Character(GetPlayerSprite(Index)).lHeight / 4) + 16```Above```Call DrawText(TexthDC, TextX, TextY, Name, color)```Paste```'Get Level of Player set name string to name and level LV = "[Lv." & str(GetPlayerLevel(Index)) & "]" Name = Name & LV```this should give you something that looks like this above the players head:"Name[Lv.100]"Have Fun :) Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 13, 2013 Share Posted June 13, 2013 it should be```LV = "[LV." & val(GetPlayerLevel(Index)) & "]"Name = Name & LV```not with "+"s instead of "&"s :Pbut other than that, nice little tutorial. keep them coming! :DD Link to comment Share on other sites More sharing options...
Geotri Posted June 13, 2013 Author Share Posted June 13, 2013 > it should be> > ```> LV = "[LV." & val(GetPlayerLevel(Index)) & "]"> Name = Name & LV> > ```> not with "+"s instead of "&"s :P> > but other than that, nice little tutorial. keep them coming! :DDHaha thanks for the support! :) and haha yeah idk what i was thinking my head must still be in java mode lol Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 13, 2013 Share Posted June 13, 2013 > Haha thanks for the support! :) and haha yeah idk what i was thinking my head must still be in java mode lollol no problem and lol it happens :P Link to comment Share on other sites More sharing options...
Wortel Angels Posted June 13, 2013 Share Posted June 13, 2013 Wrong section should be in Source Tutorials ;-)And if you get an Fix please update the Main Post. Link to comment Share on other sites More sharing options...
Geotri Posted June 14, 2013 Author Share Posted June 14, 2013 Sorry haha that was my first tutorial ill make sure to get it right next time:) Link to comment Share on other sites More sharing options...
anhkanm Posted October 21, 2013 Share Posted October 21, 2013 I like the idea you are going for. I have two questions to ask about this though:1\. What file is this in? here you say mod text. I have a file named fmod.dll , would that be the file to choose from?2\. Does this work for 4.0 as well? This may be why the file names are a little different for me. Link to comment Share on other sites More sharing options...
Geotri Posted January 7, 2014 Author Share Posted January 7, 2014 Hey sorry if this response took a while,If you are using eclipse 4.0 you cannot edit the code unfortunately, because it is not open source. So for your other question DO NOT touch the .dll files they are extensions files and there is no need to touch them unless you want to get a million run-time errorsHope this Helped :),Geotri Link to comment Share on other sites More sharing options...
Orbegon Posted January 7, 2014 Share Posted January 7, 2014 This system works. :) 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