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

Plutonium

  1. Home
  2. MW3 Modding Releases & Resources
  3. My collection of IW5 scripts

My collection of IW5 scripts

Scheduled Pinned Locked Moved MW3 Modding Releases & Resources
45 Posts 6 Posters 19.8k 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.
  • Medison Offline
    Medison Offline
    Medison
    wrote on last edited by Medison
    #36

    Resxt did you know why am i have no weapon? also i cant even knife
    image.png
    Снимок экрана (16094).png
    Maybe deepseek wrote bad code for 2 kills change weapon

    OnPlayerKill()
    {
    self endon("disconnect");

    for (;;)
    {
        self waittill("killed_enemy");
    
        // Increment the kill counter
        self.pers["gun_game_kill_counter"]++;
    
        // Check if the player has reached 2 kills
        if (self.pers["gun_game_kill_counter"] >= 2)
        {
            // Reset the kill counter
            self.pers["gun_game_kill_counter"] = 0;
    
            // Update the score and weapon index
            self.pers["previous_score"] = (self.pers["previous_score"] + 50); // Prevent multi kills from giving score multiple times. This way our score is always equal to our current weapon index
            self.score = self.pers["previous_score"];
            self.pers["score"] = self.pers["previous_score"];
    
            if (self.score == (50 * level.gun_game_weapons_amount) - 50) // If we are at the last weapon
            {
                SetGameLimits(level.gun_game_weapons_amount); // Change the score limit (originally at 0 to prevent a multi kill bug) to one kill from now
            }
    
            self.pers["gun_game_current_index"]++;
            self.pers["gun_game_current_weapon"] = level.gun_game_current_game_weapons[self.pers["gun_game_current_index"]];
    
            if (self.pers["gun_game_current_index"] < level.gun_game_weapons_amount)
            {
                GiveGunGameWeapon(false);
                
                if (self.pers["gun_game_current_index"] == (level.gun_game_weapons_amount - 1)) // last weapon obtained
                {
                    maps\mp\_utility::playsoundonplayers("mp_enemy_obj_captured");
                }
                else
                {
                    self playlocalsound("mp_war_objective_taken");
                }
            }
            else
            {
                self.pers["gun_game_current_index"] = (level.gun_game_weapons_amount - 1); // Reset the index to max weapon index. This is so that we don't display Weapon: 19/18 for example
            }
        }
    }
    

    }

    1 Reply Last reply
    0
    • Medison Offline
      Medison Offline
      Medison
      wrote on last edited by
      #37

      Resxt can you please tell me is there a command to pause the server in a private match

      Resxt 1 Reply Last reply
      0
      • Medison Medison

        Resxt can you please tell me is there a command to pause the server in a private match

        Resxt Offline
        Resxt Offline
        Resxt
        Plutonium Staff
        wrote on last edited by
        #38

        Medison idk

        1 Reply Last reply
        0
        • Medison Offline
          Medison Offline
          Medison
          wrote on last edited by
          #39

          Resxt what console command for coordinates hud like cg_drawfps

          Resxt 1 Reply Last reply
          0
          • Medison Medison

            Resxt what console command for coordinates hud like cg_drawfps

            Resxt Offline
            Resxt Offline
            Resxt
            Plutonium Staff
            wrote on last edited by
            #40

            Medison cg_drawfps 4

            Medison 1 Reply Last reply
            1
            • Resxt Resxt

              Medison cg_drawfps 4

              Medison Offline
              Medison Offline
              Medison
              wrote on last edited by Medison
              #41

              Resxt i have bat file and how to make that command fs_game mods/survival will load, i tried +fs_game mods/survival but its not working
              95d47c28-a98b-4a20-b090-0ec8ace3a950-image.png

              Resxt 1 Reply Last reply
              0
              • Medison Offline
                Medison Offline
                Medison
                wrote on last edited by
                #42

                Resxt

                1 Reply Last reply
                0
                • Medison Medison

                  Resxt i have bat file and how to make that command fs_game mods/survival will load, i tried +fs_game mods/survival but its not working
                  95d47c28-a98b-4a20-b090-0ec8ace3a950-image.png

                  Resxt Offline
                  Resxt Offline
                  Resxt
                  Plutonium Staff
                  wrote on last edited by Resxt
                  #43

                  Medison I don't know, also stop with all these unrelated questions
                  This topic is for my scripts, I don't know the answer to every single thing on earth, ask others

                  1 Reply Last reply
                  0
                  • Medison Offline
                    Medison Offline
                    Medison
                    wrote on last edited by Medison
                    #44

                    Resxt Okay, please forgive me for disturbing you.

                    1 Reply Last reply
                    0
                    • Medison Offline
                      Medison Offline
                      Medison
                      wrote on last edited by
                      #45

                      Resxt how to add throwing knife in your script one in the chamber i try to add this but not working

                      image.png

                      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


                      • 1
                      • 2
                      • 3
                      • Login

                      • Don't have an account? Register

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