Re: k wtf commands half way work now?? [message #468911 is a reply to message #468904] |
Sun, 10 June 2012 04:45 |
BillieJoe67
Messages: 35 Registered: March 2012
Karma:
|
Recruit |
|
|
Ethenal wrote on Sun, 10 June 2012 02:29 | Beta 4 Code:
virtual bool OnChat(int PlayerID,TextMessageEnum Type,const wchar_t *Message,int recieverID)
{
if(MutedPlayers[PlayerID] == false)
{
return true;
}
else
{
return false;
}
}
Beta 5 Code:
virtual bool OnChat(int PlayerID,TextMessageEnum Type,const wchar_t *Message,int recieverID)
{
if(MutedPlayers[PlayerID] == false)
{
return true;
}
else
{
return false;
}
}
Comparison of the mute chat hook from TT's beta 4 and beta 5. I even included the links to the source code zip for you.
Oh, strange... they seem to be identical.
|
The way it works hasn't changed between beta 4 and 5.... return true to show the chat, return false to block it
Also, if it's no big deal, why did you need to post it?
[Updated on: Sun, 10 June 2012 04:46] Report message to a moderator
|
|
|