Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  1
Results 1 to 2 of 2
  1. #1
    Graphics Guru

    Join Date
    Feb 2009
    Posts
    1,377
    Post Thanks / Like
    Rep Power
    22
    Reputation
    382

    <GM> Tag in Who List


    Register to remove this ad
    Hello everyone! I'm releasing a TrinityCore edit
    .

    What it does
    When your GM Tag is on(.gm on), in who list you'll have a <GM> prefix before your name. Example:
    <GM>
    Nexus

    Edit:
    First browse to
    src\server\game\Handlers
    , and open
    MiscHandler.cpp
    .
    Go to line 305, and try to find something like this:


    Code:
    std::string pname = target->GetName();
            std::wstring wpname;

    When you find it, try to make it look like this:

    Code:
    std::string pname;
            if (itr->second->isGameMaster())
            {
                pname = "|cffff0000<GM>|r";
                pname.append(itr->second->GetName());
            }
            else
                pname = itr->second->GetName();
            std::wstring wpname;


    Save and recompile.



    ------
    Also if you want for the actual gm tag image


    Change



    Code:
    pname = "|cffff0000<GM>|r";


    to

    Code:
    pname ="|TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t;




    › See More: <GM> Tag in Who List
    Last edited by Wise; 20-05-13 at 12:01 AM.



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Sergeant
    Laladin's Avatar
    Join Date
    Apr 2010
    Location
    Athens, Greece
    Posts
    90
    Post Thanks / Like
    Rep Power
    15
    Reputation
    26

    Register to remove this ad
    That's pretty nice, thanks for sharing!

  4. Likes 6yTblJIka liked this post
 

 

Visitors found this page by searching for:

trinitycore pname =interfacechatframeui-chat icon-blizz.blp:0:2:0:-3t;

trinitycore &lt;gm&gt; tag in who list script

world of warcraft ui-chat icon-blizz.blp:0:2:0:-3t who list

SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 11:39 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org