Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • 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 140 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.
  • RAVENundefined Offline
    RAVENundefined 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 ❤

    Kalitosundefined JezuzLizardundefined 2 Replies Last reply
    0
    • RAVENundefined 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 ❤

      Kalitosundefined Offline
      Kalitosundefined 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;
      }
      
      RAVENundefined 1 Reply Last reply
      0
      • RAVENundefined 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 ❤

        JezuzLizardundefined Offline
        JezuzLizardundefined 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
        • Kalitosundefined 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;
          }
          
          RAVENundefined Offline
          RAVENundefined Offline
          RAVEN
          wrote on last edited by
          #4

          Kalitos nope not working.

          1 Reply Last reply
          0
          • RAVENundefined Offline
            RAVENundefined 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
            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
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate