[Discussion] Adding Blocking Chat List (Whisper and Chat)
Does someone know how to add Blocking and Unblocking Chat from Player with command instead of using the rejecting whisper and rejecting General Chat?
Like for example /block Player1
On the Gunz Folder, there will be Block.txt and will be listed down all players name typed from the /block <name> command.
All ChatOutput from those Character Names listed from Block.txt will not be shown in the Chat Box.
Re: [Discussion] Adding Blocking Chat List (Whisper and Chat)
You mean ignore target? It's easy just add a list as you said and check in ZGameClient::OnUserWhisper
if!strcmp(pszSenderName, GetNameFromList);
return;
Re: [Discussion] Adding Blocking Chat List (Whisper and Chat)
Quote:
Originally Posted by
qet123
You mean ignore target? It's easy just add a list as you said and check in ZGameClient::OnUserWhisper
if!strcmp(pszSenderName, GetNameFromList);
return;
i think he want "/block <charname>"