Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » k wtf commands half way work now??
Re: k wtf commands half way work now?? [message #468911 is a reply to message #468904] Sun, 10 June 2012 04:45 Go to previous messageGo to previous message
BillieJoe67 is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: need some help with 3ds
Next Topic: memtracker message
Goto Forum:
  


Current Time: Wed Dec 18 11:55:11 MST 2024

Total time taken to generate the page: 0.00853 seconds