chuchoide Posted June 13, 2011 Author Share Posted June 13, 2011 I'm doing a simple tutorial for adding [MOD] and [GM] tags, and whatever.Client side: Go to modText and go to Sub DrawPlayerName.Search for:``` Name = Trim$(Player(Index).Name)```Replace with:``` If GetPlayerAccess(Index) = 0 Then Name = Trim$(Player(Index).Name) ElseIf GetPlayerAccess(Index) = 1 Then Name = "[MOD] " & Trim$(Player(Index).Name) ElseIf GetPlayerAccess(Index) = 2 Then Name = "[MPR] " & Trim$(Player(Index).Name) ElseIf GetPlayerAccess(Index) = 3 Then Name = "[ADM] " & Trim$(Player(Index).Name) ElseIf GetPlayerAccess(Index) = 4 Then Name = "[DEV] " & Trim$(Player(Index).Name) End If```Replace the tags and edit it at your liking.**Tested and works.** Link to comment Share on other sites More sharing options...
dthnote801 Posted June 13, 2011 Share Posted June 13, 2011 Chu, I love you brosef. This helped me a lot n stuff. Link to comment Share on other sites More sharing options...
kibbelz Posted June 13, 2011 Share Posted June 13, 2011 This has already been made and released as a tutorial by someone else, I forget who now :/. Link to comment Share on other sites More sharing options...
aaaron Posted June 13, 2011 Share Posted June 13, 2011 Nice job chu!You could go and improve it maybe with maybe an image instead of text, or have the tag above the name, etc. Link to comment Share on other sites More sharing options...
eltony Posted June 13, 2011 Share Posted June 13, 2011 lol this is great now people will know which one is the GM Link to comment Share on other sites More sharing options...
dthnote801 Posted June 13, 2011 Share Posted June 13, 2011 @kibbelz:> This has already been made and released as a tutorial by someone else, I forget who now :/.You're thinking of Ertzy. But Ertzy's tutorial was for having the GM Tag appear in the Shoutbox as well. Link to comment Share on other sites More sharing options...
MrKris Posted June 13, 2011 Share Posted June 13, 2011 This is pretty cool, I have been thinking of something like this for awhile. Link to comment Share on other sites More sharing options...
chuchoide Posted June 14, 2011 Author Share Posted June 14, 2011 Thanks everyone.@Aaron, I'm planning on doing it like Ertzel, doing the tags with different color than name. I will also be adding in the chat soon. Link to comment Share on other sites More sharing options...
aaaron Posted June 14, 2011 Share Posted June 14, 2011 Haha, funny.I was messing around with the code, and changed up some things. :P Link to comment Share on other sites More sharing options...
chuchoide Posted June 14, 2011 Author Share Posted June 14, 2011 Cool.This is just a base… you can change to whatever. Link to comment Share on other sites More sharing options...
tsuki Posted June 22, 2011 Share Posted June 22, 2011 how can I show the tags based in classes? '-' Link to comment Share on other sites More sharing options...
chuchoide Posted June 22, 2011 Author Share Posted June 22, 2011 You can maybe use the function GetPlayerClass, but I've never experimented with it. Link to comment Share on other sites More sharing options...
tsuki Posted June 22, 2011 Share Posted June 22, 2011 Don't works, but thanks ;D Link to comment Share on other sites More sharing options...
chuchoide Posted June 22, 2011 Author Share Posted June 22, 2011 I could help you, but really, never tried to use it… it's actually the first time I type it :P Link to comment Share on other sites More sharing options...
SholT Posted March 13, 2012 Share Posted March 13, 2012 I can use this code to EE 2.7? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted March 13, 2012 Share Posted March 13, 2012 @SholT:> I can use this code to EE 2.7?No. Link to comment Share on other sites More sharing options...
Ryochi Posted March 13, 2012 Share Posted March 13, 2012 @SholT:> I can use this code to EE 2.7?This is SOURCE not SCRIPTING! Link to comment Share on other sites More sharing options...
Wing Posted March 13, 2012 Share Posted March 13, 2012 @Ryochi:> This is SOURCE not SCRIPTING!I'm pretty sure EE was open source too. Link to comment Share on other sites More sharing options...
erkro1 Posted March 14, 2012 Share Posted March 14, 2012 @Wing:> I'm pretty sure EE was open source too.Yes, but in EE you had scripting, and yes the source was open-source but tutorials for EO probably won't work on it. Link to comment Share on other sites More sharing options...
SholT Posted March 14, 2012 Share Posted March 14, 2012 How i can make GM and MOD tags in EE? Link to comment Share on other sites More sharing options...
erkro1 Posted March 14, 2012 Share Posted March 14, 2012 @SholT:> How i can make GM and MOD tags in EE?Take a look in this sub:```Sub BltPlayerName(ByVal Index As Long)```But I highly suggest using EO instead of EE because EO is much better. Link to comment Share on other sites More sharing options...
Ryochi Posted March 16, 2012 Share Posted March 16, 2012 @SholT:> How i can make GM and MOD tags in EE?Look pal. There are only two options here, you use EO or you don't. Why do you want EE anyway? I can get ES but EE? Why EE?! EE is just a bunch of bs slapped together compared to EO. 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