Well, I've searched everywhere for it, but I couldn't find any post which shows how. So I decided to post it...
ZChat_Cmds.cpp
Search for: "ChatCmd_AdminAnnounce" (without " of course) where the code is:
Now simply replace the line with:Code:void ChatCmd_AdminAnnounce(const char* line, const int argc, char **const argv) { if (argc < 2) { OutputCmdWrongArgument(argv[0]); return; } char szMsg[256]; strcpy(szMsg, argv[1]); ZPostAdminAnnounce(ZGetGameClient()->GetPlayerUID(), szMsg, ZAAT_CHAT); }
to this:Code:strcpy(szMsg, argv[1]);
-Save then build.Code:sprintf(szMsg,"%s : %s",ZGetMyInfo()->GetCharName(), argv[1]);
------------------------------------------------------------------
NOTE:For the proffesional coders, don't say it's easy and old, I know that it's the most easy code for you, but still some people who don't know and I'm posting for them. Instead, I'm still noob/very very bad coder, so I post as I can ;)


Reply With Quote![Unmask Admin Wall [1.5]](http://ragezone.com/hyper728.png)


