[Discussion] Adding Blocking Chat List (Whisper and Chat)

Results 1 to 3 of 3
  1. #1
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    [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.
    Last edited by cheaterastic; 08-08-13 at 04:17 AM.


  2. #2
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    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;

  3. #3
    Member kubom21 is offline
    MemberRank
    Jun 2009 Join Date
    99Posts

    Re: [Discussion] Adding Blocking Chat List (Whisper and Chat)

    Quote Originally Posted by qet123 View Post
    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>"



Advertisement