Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • Donate
Collapse

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. Hide Orginal message

Hide Orginal message

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
5 Posts 3 Posters 548 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RAVEN Offline
    RAVEN Offline
    RAVEN
    wrote on last edited by
    #1

    hi

    guys im not professional in GSC language so how to hide orginal message from player.

    when player type something it's repeat 2 time.

    if(self.status == "admin")
    {
        say("^1[admin]" + player.Name + "^7:" + message);
    }
    
    

    and how can hide commands when player type like this !test, i mean if player message start with "!" hide all the chat he/she sent and nothing showing in main chat.

    thx ❤

    Kalitos JezuzLizard 2 Replies Last reply
    0
    • RAVEN RAVEN

      hi

      guys im not professional in GSC language so how to hide orginal message from player.

      when player type something it's repeat 2 time.

      if(self.status == "admin")
      {
          say("^1[admin]" + player.Name + "^7:" + message);
      }
      
      

      and how can hide commands when player type like this !test, i mean if player message start with "!" hide all the chat he/she sent and nothing showing in main chat.

      thx ❤

      Kalitos Offline
      Kalitos Offline
      Kalitos
      wrote on last edited by Kalitos
      #2

      RAVEN Maybe try putting

      if(self.status == "admin")
      {
          say("^1[admin]" + player.Name + "^7:" + message);
          return true;
      }
      

      or

      if(self.status == "admin")
      {
          say("^1[admin]" + player.Name + "^7:" + message);
          return false;
      }
      
      RAVEN 1 Reply Last reply
      0
      • RAVEN RAVEN

        hi

        guys im not professional in GSC language so how to hide orginal message from player.

        when player type something it's repeat 2 time.

        if(self.status == "admin")
        {
            say("^1[admin]" + player.Name + "^7:" + message);
        }
        
        

        and how can hide commands when player type like this !test, i mean if player message start with "!" hide all the chat he/she sent and nothing showing in main chat.

        thx ❤

        JezuzLizard Offline
        JezuzLizard Offline
        JezuzLizard
        Plutonium Staff
        wrote on last edited by
        #3

        RAVEN If a player types a message starting with the "/" token the message won't display but will still trigger the say notify.

        1 Reply Last reply
        0
        • Kalitos Kalitos

          RAVEN Maybe try putting

          if(self.status == "admin")
          {
              say("^1[admin]" + player.Name + "^7:" + message);
              return true;
          }
          

          or

          if(self.status == "admin")
          {
              say("^1[admin]" + player.Name + "^7:" + message);
              return false;
          }
          
          RAVEN Offline
          RAVEN Offline
          RAVEN
          wrote on last edited by
          #4

          Kalitos nope not working.

          1 Reply Last reply
          0
          • RAVEN Offline
            RAVEN Offline
            RAVEN
            wrote on last edited by
            #5

            JezuzLizard i know this option but there is way to put "/" before command?

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Unread 0
            • Recent
            • Popular
            • Users
            • Donate