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

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. gsc scripts not working

gsc scripts not working

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
22 Posts 5 Posters 1.2k Views 1 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.
  • Resxtundefined Resxt

    C_Killer_5000 yes and yes. The only thing you need to know when it comes to these chat commands and IW4MAdmin is explained on the repo, don't use the same command prefix like !.

    The screenshot you're looking at is an EXAMPLE script that's coded to show green text in the middle of the screen. Thankfully not all scripts do that or you would be spammed with this. It only shows in the console once a game is loaded. You can send a screenshot of your console if you're unsure (after loading a map in a private game for example)

    C_Killer_5000undefined Offline
    C_Killer_5000undefined Offline
    C_Killer_5000
    wrote on last edited by
    #9

    Resxt Captura de pantalla (8).png Captura de pantalla (10).png Captura de pantalla (11).png

    this is my console at a private match.

    Resxtundefined 1 Reply Last reply
    0
    • C_Killer_5000undefined C_Killer_5000

      Resxt Captura de pantalla (8).png Captura de pantalla (10).png Captura de pantalla (11).png

      this is my console at a private match.

      Resxtundefined Offline
      Resxtundefined Offline
      Resxt
      Plutonium Staff
      wrote on last edited by
      #10

      C_Killer_5000 you can see it compiles all the chat commands scripts. Have you tried typing !giveweapon me iw5_acr_mp for example?

      C_Killer_5000undefined 1 Reply Last reply
      0
      • Resxtundefined Resxt

        C_Killer_5000 you can see it compiles all the chat commands scripts. Have you tried typing !giveweapon me iw5_acr_mp for example?

        C_Killer_5000undefined Offline
        C_Killer_5000undefined Offline
        C_Killer_5000
        wrote on last edited by C_Killer_5000
        #11

        Resxt I just typed it but nothing happened 😞Captura de pantalla (13).png

        thank you for your time and help, I really appreciate it

        it says in the game: uknown cmd !god

        I tried: !god me but still nothing happens, it says unknown cmd !god

        why is it so hard 😞

        Kalitosundefined 1 Reply Last reply
        0
        • C_Killer_5000undefined C_Killer_5000

          Resxt I just typed it but nothing happened 😞Captura de pantalla (13).png

          thank you for your time and help, I really appreciate it

          it says in the game: uknown cmd !god

          I tried: !god me but still nothing happens, it says unknown cmd !god

          why is it so hard 😞

          Kalitosundefined Offline
          Kalitosundefined Offline
          Kalitos
          wrote on last edited by
          #12

          C_Killer_5000 If you use !IWM4Admin", it should be capturing the command before the script. That's why in the guide it says
          1caeb13b-359b-4de1-b30d-59b0903953db-image.png
          You must use another "prefix"

          C_Killer_5000undefined 1 Reply Last reply
          0
          • Kalitosundefined Kalitos

            C_Killer_5000 If you use !IWM4Admin", it should be capturing the command before the script. That's why in the guide it says
            1caeb13b-359b-4de1-b30d-59b0903953db-image.png
            You must use another "prefix"

            C_Killer_5000undefined Offline
            C_Killer_5000undefined Offline
            C_Killer_5000
            wrote on last edited by C_Killer_5000
            #13

            Kalitos I'm not using IW4MAdmin, now I don't know how to change the value of cc_prefix dvar, I don't even know where it is, I'm sorry, I'm just starting in this world.

            Kalitosundefined 1 Reply Last reply
            0
            • C_Killer_5000undefined C_Killer_5000

              Kalitos I'm not using IW4MAdmin, now I don't know how to change the value of cc_prefix dvar, I don't even know where it is, I'm sorry, I'm just starting in this world.

              Kalitosundefined Offline
              Kalitosundefined Offline
              Kalitos
              wrote on last edited by
              #14

              C_Killer_5000 Another question, where you are typing the command "!giveweapon me iw5_acr_mp", you need to do it within the in-game chat.

              1 Reply Last reply
              0
              • C_Killer_5000undefined Offline
                C_Killer_5000undefined Offline
                C_Killer_5000
                wrote on last edited by
                #15

                I DID IT, I was typing in the wrong place, ty sm Kalitos and Resxt for all the help ❀

                Resxtundefined 1 Reply Last reply
                1
                • C_Killer_5000undefined C_Killer_5000

                  I DID IT, I was typing in the wrong place, ty sm Kalitos and Resxt for all the help ❀

                  Resxtundefined Offline
                  Resxtundefined Offline
                  Resxt
                  Plutonium Staff
                  wrote on last edited by
                  #16

                  C_Killer_5000 not to be annoying but the script is called CHAT commands

                  C_Killer_5000undefined 1 Reply Last reply
                  0
                  • Resxtundefined Resxt

                    C_Killer_5000 not to be annoying but the script is called CHAT commands

                    C_Killer_5000undefined Offline
                    C_Killer_5000undefined Offline
                    C_Killer_5000
                    wrote on last edited by
                    #17

                    Resxt I can see now, I'm new over here, sorry for all the trouble, thank you, it won't happen again.

                    Resxtundefined 1 Reply Last reply
                    0
                    • C_Killer_5000undefined C_Killer_5000

                      Resxt I can see now, I'm new over here, sorry for all the trouble, thank you, it won't happen again.

                      Resxtundefined Offline
                      Resxtundefined Offline
                      Resxt
                      Plutonium Staff
                      wrote on last edited by
                      #18

                      C_Killer_5000 no worries. Glad you got it to work. Enjoy

                      1 Reply Last reply
                      0
                      • Black-maksundefined Offline
                        Black-maksundefined Offline
                        Black-maks
                        wrote on last edited by
                        #19

                        Π‘an someone tell me if there is a gsc script for issuing perks to oneself?
                        I know that you can use this code, but it gives out perks to everyone, and I would like only me to have perks. It would be very convenient to get them in the same way as weapons or killstreaks via !giveperk me as in the gsc script examples.

                        OnPlayerSpawned()
                        {
                        self endon("disconnect");
                        for(;;)
                        {
                        self waittill("changed_kit");

                        	GivePerks();
                        }
                        

                        }

                        GivePerks()
                        {
                        self setperk( "specialty_quickdraw", true, false);

                        1 Reply Last reply
                        0
                        • Resxtundefined Offline
                          Resxtundefined Offline
                          Resxt
                          Plutonium Staff
                          wrote on last edited by
                          #20

                          It gives perks to everyone because there's no condition checking for a username or whatever. This is completely normal and expected

                          1 Reply Last reply
                          0
                          • Black-maksundefined Offline
                            Black-maksundefined Offline
                            Black-maks
                            wrote on last edited by
                            #21

                            how to build condition checking for a username?

                            FutureRaveundefined 1 Reply Last reply
                            0
                            • FutureRaveundefined FutureRave locked this topic on
                            • Black-maksundefined Black-maks

                              how to build condition checking for a username?

                              FutureRaveundefined Offline
                              FutureRaveundefined Offline
                              FutureRave
                              VIP
                              wrote on last edited by
                              #22

                              Black-maks Open a new topic

                              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