Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Need Help for a gsc bind

[Support] Need Help for a gsc bind

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
10 Posts 3 Posters 1.4k Views 2 Watching
  • 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.
  • telowsundefined Offline
    telowsundefined Offline
    telows
    wrote on last edited by Mr. Android
    #1

    I was wondering if anyone would be willing to help me with creating a bind that would drop a canswap. I would like to set the bind to crouch+left dpad. I am really new to this so Im kinda struggling...

    Ducxyundefined 1 Reply Last reply
    0
    • tedundefined Offline
      tedundefined Offline
      ted
      wrote on last edited by
      #2

      https://forum.plutonium.pw/topic/231/camochanger-canswap/4

      1 Reply Last reply
      0
      • telowsundefined telows

        I was wondering if anyone would be willing to help me with creating a bind that would drop a canswap. I would like to set the bind to crouch+left dpad. I am really new to this so Im kinda struggling...

        Ducxyundefined Offline
        Ducxyundefined Offline
        Ducxy
        wrote on last edited by
        #3

        @Rename-The-Bot find a canswap code and then add it to an "if" statement.

        so like this

        if(self AdsButtonPressed)
        {
            //Do Something
        }
        
        telowsundefined 1 Reply Last reply
        0
        • Ducxyundefined Ducxy

          @Rename-The-Bot find a canswap code and then add it to an "if" statement.

          so like this

          if(self AdsButtonPressed)
          {
              //Do Something
          }
          
          telowsundefined Offline
          telowsundefined Offline
          telows
          wrote on last edited by
          #4

          Ducxy so I came up with this, how would u bind it to crouch+d-left?

          if(self AdsButtonPressed)
          {

          weapon = randomGun();
          
          self giveWeapon(weapon, 0, true);
          
          self dropItem(weapon);
          

          }

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

            instead of AdsButtonPressed do the left dpad code and use get stance

            1 Reply Last reply
            0
            • telowsundefined telows

              Ducxy so I came up with this, how would u bind it to crouch+d-left?

              if(self AdsButtonPressed)
              {

              weapon = randomGun();
              
              self giveWeapon(weapon, 0, true);
              
              self dropItem(weapon);
              

              }

              Ducxyundefined Offline
              Ducxyundefined Offline
              Ducxy
              wrote on last edited by Ducxy
              #6

              @Rename-The-Bot

              if(self getStance() == "crouch" && self actionslotthreebuttonpressed())
              {
                  weapon = randomGun();
                  
                  self giveWeapon(weapon, 0, true);
                  
                  self dropItem(weapon);
              }
              1 Reply Last reply
              0
              • Ducxyundefined Offline
                Ducxyundefined Offline
                Ducxy
                wrote on last edited by
                #7

                Heres the full code:

                DoCanswap()
                {
                    if(self getStance() == "crouch" && self actionslotthreebuttonpressed())
                    {
                        weapon = randomGun();
                    
                        self giveWeapon(weapon, 0, true);
                    
                        self dropItem(weapon);
                    }
                }
                telowsundefined 1 Reply Last reply
                0
                • Ducxyundefined Ducxy

                  Heres the full code:

                  DoCanswap()
                  {
                      if(self getStance() == "crouch" && self actionslotthreebuttonpressed())
                      {
                          weapon = randomGun();
                      
                          self giveWeapon(weapon, 0, true);
                      
                          self dropItem(weapon);
                      }
                  }
                  telowsundefined Offline
                  telowsundefined Offline
                  telows
                  wrote on last edited by
                  #8

                  Ducxy aight bro thank you. I'll probably be back with more questions, I'm new to this haven't learned everything yet. Would you mind taking a look at the full script if I send it to on discord or something ?

                  Ducxyundefined 1 Reply Last reply
                  0
                  • telowsundefined telows

                    Ducxy aight bro thank you. I'll probably be back with more questions, I'm new to this haven't learned everything yet. Would you mind taking a look at the full script if I send it to on discord or something ?

                    Ducxyundefined Offline
                    Ducxyundefined Offline
                    Ducxy
                    wrote on last edited by
                    #9

                    @Rename-The-Bot i could later, currently working on my server atm. Reign Ducxy#2839

                    telowsundefined 1 Reply Last reply
                    0
                    • Ducxyundefined Ducxy

                      @Rename-The-Bot i could later, currently working on my server atm. Reign Ducxy#2839

                      telowsundefined Offline
                      telowsundefined Offline
                      telows
                      wrote on last edited by
                      #10

                      Ducxy sounds good. Whenever u got time hit me up, i'll add u. Thanks

                      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
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Donate