Title+Name and Name Colors, Can't figure it out

Melancholy

Member
Jan 10, 2015
39
13
Hello!

I've seen some hotels with titles beside their name, for example: Owner + UserName or EventManager + Username.

I cant figure it out how they do this? Is it coded, swf..?

Also the name colors... Same thing.

Can someone point me in the right direction. Thank you.

Edit: Shit, I'm on PlusEMU Sledmore Edit (Thanks for the release btw)
 

Core

Member
Nov 10, 2016
356
138
Rofl



Yeah :) I figured out the Color Text, apparently it was already hardcoded in with the new revision.

Yeah here they are for latest production

Colours;
Red
Cyan
Blue
Green
Purple

Reference
Code:
public class ChatColours 
    {

        public static const COLOUR_ARRAY:Array = [["@red@", 9115929], ["@cyan@", 0x7F7F], ["@blue@", 19609], ["@green@", 0x8000], ["@purple@", 0x4C004C]];


        public static function _SafeStr_17442(k:_SafeStr_2736, _arg_2:_SafeStr_4358):void
        {
            var _local_3:Array;
            for each (_local_3 in COLOUR_ARRAY)
            {
                if (k.text.indexOf(_local_3[0]) == 0)
                {
                    _arg_2._SafeStr_9888.color = _local_3[1];
                    k.text = k.text.substr(_local_3[0].length);
                };
            };
        }


    }
 

Users who are viewing this thread

Top