Show
Ignore:
Timestamp:
11/19/08 13:26:54 (17 years ago)
Author:
yumileroy
Message:

[svn] * Changed: .respawn now respawns only single creature if selected. <3 Seline.
* Added: .nameannounce command. Includes name of announcer.

Original author: XTZGZoReX
Date: 2008-10-12 14:43:55-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Level1.cpp

    r39 r40  
    115115    pCreature->Whisper(text,receiver_guid); 
    116116 
     117    return true; 
     118} 
     119 
     120bool ChatHandler::HandleNameAnnounceCommand(const char* args) 
     121{ 
     122    WorldPacket data; 
     123    if(!*args) 
     124        return false; 
     125    char str[1024]; 
     126    //sprintf(str, GetMangosString(LANG_ANNOUNCE_COLOR), m_session->GetPlayer()->GetName(), args); 
     127    sWorld.SendWorldText(LANG_ANNOUNCE_COLOR, m_session->GetPlayer()->GetName(), args); 
    117128    return true; 
    118129}