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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] camochanger/canswap

[Support] camochanger/canswap

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
23 Posts 6 Posters 1.8k 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.
  • Sassundefined Sass

    Farzad I was about to reply to the topic you deleted. What lula wants is different than what you want.

    Here's what was supposed to be the reply :


    The gsc to drop your current weapon is self dropItem(self getCurrentWeapon());.

    You'll probably need to make something that detects your input to call it, like the example below. This will make you drop the weapon when you press the "Use" and "Action Slot 2*" at the same time. Then call self thread dropWeaponInput(); in onPlayerSpawned() for it to work.

    dropWeaponInput()
    {
        self endon("death");
        self endon("disconnect");
        
        for(;;)
        {
            if(self usebuttonpressed() && self actionslottwobuttonpressed())
            	self dropItem(self getCurrentWeapon());
            wait .05;
        }
    }
    

    *: "Action Slot 2" is Dpad Down on controller, or 2 by default on KB&M

    Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    wrote on last edited by
    #9

    Sass can you send me from line 1 to the end line? im not sure what "call player spawn" is man>

    1 Reply Last reply
    0
    • kuxqiundefined Offline
      kuxqiundefined Offline
      kuxqi
      wrote on last edited by kuxqi
      #10

      Farzad where it says (on player spawn) put this self thread dropWeaponInput(); that is what he meant its in mainn.gsc

      Farzadundefined 1 Reply Last reply
      0
      • Farzadundefined Offline
        Farzadundefined Offline
        Farzad
        wrote on last edited by
        #11

        bro i know nothing on this, please add me in discord plz man, i wll pay you to put the code things on the file, or send me compiled one i will pay man

        Sassundefined 1 Reply Last reply
        0
        • kuxqiundefined kuxqi

          Farzad where it says (on player spawn) put this self thread dropWeaponInput(); that is what he meant its in mainn.gsc

          Farzadundefined Offline
          Farzadundefined Offline
          Farzad
          wrote on last edited by
          #12

          kuxqi my servers are so dead man, i need this badly plz bro help me i will do anything

          1 Reply Last reply
          0
          • kuxqiundefined Offline
            kuxqiundefined Offline
            kuxqi
            wrote on last edited by
            #13

            whats ya discord bro ?/

            Farzadundefined 1 Reply Last reply
            0
            • Farzadundefined Farzad

              bro i know nothing on this, please add me in discord plz man, i wll pay you to put the code things on the file, or send me compiled one i will pay man

              Sassundefined Offline
              Sassundefined Offline
              Sass
              Plutonium Staff
              wrote on last edited by Sass
              #14

              Farzad You shouldn't tell someone that you're ready to pay them to copy/paste something. Alot of people would abuse you and try everything to extort money from you if you say such things. Not to mention that this kind of behavior does nothing but make these "I pay you for helping me doing very simple stuff" situations morally acceptable, while they're really not.

              This is pretty simple stuff we're talking about, stuff that you normally don't pay for. It's fine to ask for help, but you shouldn't have to advance money in order to get some.

              Farzadundefined 2 Replies Last reply
              0
              • Ox_undefined Offline
                Ox_undefined Offline
                Ox_
                wrote on last edited by
                #15

                How is this dude a "contributor" lmfao.
                What does that even mean.

                Drgnundefined 1 Reply Last reply
                0
                • kuxqiundefined Offline
                  kuxqiundefined Offline
                  kuxqi
                  wrote on last edited by
                  #16

                  Sass im helping for free bro

                  1 Reply Last reply
                  0
                  • Ox_undefined Ox_

                    How is this dude a "contributor" lmfao.
                    What does that even mean.

                    Drgnundefined Offline
                    Drgnundefined Offline
                    Drgn
                    Plutonium Staff
                    wrote on last edited by
                    #17

                    Ox_ It means he donated to the project.

                    Ox_undefined 1 Reply Last reply
                    0
                    • Sassundefined Sass

                      Farzad You shouldn't tell someone that you're ready to pay them to copy/paste something. Alot of people would abuse you and try everything to extort money from you if you say such things. Not to mention that this kind of behavior does nothing but make these "I pay you for helping me doing very simple stuff" situations morally acceptable, while they're really not.

                      This is pretty simple stuff we're talking about, stuff that you normally don't pay for. It's fine to ask for help, but you shouldn't have to advance money in order to get some.

                      Farzadundefined Offline
                      Farzadundefined Offline
                      Farzad
                      wrote on last edited by
                      #18

                      Sass then if i ask you to message me on discord a compiled .gsc file of the canswap you will not do it, you reply wil be "google" or "call fuction" or "you do it" or "im not spoon feed man" can plz help?

                      1 Reply Last reply
                      0
                      • kuxqiundefined kuxqi

                        whats ya discord bro ?/

                        Farzadundefined Offline
                        Farzadundefined Offline
                        Farzad
                        wrote on last edited by Farzad
                        #19

                        kuxqi ravel#0608 is my discord man. thanks alot

                        :::

                        👍 Spoiler Text

                        :::

                        1 Reply Last reply
                        0
                        • Sassundefined Sass

                          Farzad You shouldn't tell someone that you're ready to pay them to copy/paste something. Alot of people would abuse you and try everything to extort money from you if you say such things. Not to mention that this kind of behavior does nothing but make these "I pay you for helping me doing very simple stuff" situations morally acceptable, while they're really not.

                          This is pretty simple stuff we're talking about, stuff that you normally don't pay for. It's fine to ask for help, but you shouldn't have to advance money in order to get some.

                          Farzadundefined Offline
                          Farzadundefined Offline
                          Farzad
                          wrote on last edited by
                          #20

                          Sass the stuff you just told me give me syntax error, i dont even know how to do this, ifind no point in leraning becuase its all already done, every thinbg you need is here, thats why, im just not sure how to setup the thing man im so sorry

                          Sassundefined 1 Reply Last reply
                          0
                          • Drgnundefined Drgn

                            Ox_ It means he donated to the project.

                            Ox_undefined Offline
                            Ox_undefined Offline
                            Ox_
                            wrote on last edited by Ox_
                            #21

                            Drgn said in camochanger/canswap:

                            Ox_ It means he donated to the project.

                            Should be named something else I think.
                            Contributor sounds like would've contributed something in making of the client.
                            Like Github contributor. That's the first thing I think of.

                            1 Reply Last reply
                            0
                            • Farzadundefined Farzad

                              Sass the stuff you just told me give me syntax error, i dont even know how to do this, ifind no point in leraning becuase its all already done, every thinbg you need is here, thats why, im just not sure how to setup the thing man im so sorry

                              Sassundefined Offline
                              Sassundefined Offline
                              Sass
                              Plutonium Staff
                              wrote on last edited by Sass
                              #22

                              Farzad This is how the script looks like ON ITS OWN WITHOUT ANYTHING ESLE :

                              alt text

                              Of course yours will not look like that if there is more stuff in it, but you need to make sure everything is at the right place, so the game doesn't throw syntax errors.

                              If you need help to set up a server with gsc scripts, I suggest you take a look in the forum and maybe create another topic if you need help with it. It seems the issues you're having are beyond the script itself...

                              Farzadundefined 1 Reply Last reply
                              0
                              • Sassundefined Sass

                                Farzad This is how the script looks like ON ITS OWN WITHOUT ANYTHING ESLE :

                                alt text

                                Of course yours will not look like that if there is more stuff in it, but you need to make sure everything is at the right place, so the game doesn't throw syntax errors.

                                If you need help to set up a server with gsc scripts, I suggest you take a look in the forum and maybe create another topic if you need help with it. It seems the issues you're having are beyond the script itself...

                                Farzadundefined Offline
                                Farzadundefined Offline
                                Farzad
                                wrote on last edited by
                                #23

                                Sass thank you 🙏🏼 I fixed

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • 1
                                • 2
                                • Login

                                • Don't have an account? Register

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