Jump to content

Disable Joined/Left Messages


ArcticPrism

Recommended Posts

You can do that in the GameMessage event.

 

Example:

 

public bool GameMessage(ClientInfo _cInfo, EnumGameMessages _type, string _message, string _playerName, bool _localizeMain, string _secondaryName, bool _localizeSecondary)

{

if (_type == EnumGameMessages.JoinedGame || _type == EnumGameMessages.LeftGame)

{

return false;

}

else

{

return true;

}

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...