Skip to content
  • 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 6.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Medisonundefined Offline
    Medisonundefined 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
    • Medisonundefined Offline
      Medisonundefined 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

      Resxtundefined 1 Reply Last reply
      0
      • Resxtundefined Offline
        Resxtundefined Offline
        Resxt Plutonium Staff
        replied to Medison on last edited by
        #38

        Medison idk

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

          Resxt what console command for coordinates hud like cg_drawfps

          Resxtundefined 1 Reply Last reply
          0
          • Resxtundefined Offline
            Resxtundefined Offline
            Resxt Plutonium Staff
            replied to Medison on last edited by
            #40

            Medison cg_drawfps 4

            Medisonundefined 1 Reply Last reply
            1
            • Medisonundefined Offline
              Medisonundefined Offline
              Medison
              replied to Resxt 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

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

                Resxt

                1 Reply Last reply
                0
                • Resxtundefined Offline
                  Resxtundefined Offline
                  Resxt Plutonium Staff
                  replied to Medison 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
                  • Medisonundefined Offline
                    Medisonundefined Offline
                    Medison
                    wrote on last edited by Medison
                    #44

                    Resxt Okay, please forgive me for disturbing you.

                    1 Reply Last reply
                    0
                    • Medisonundefined Offline
                      Medisonundefined Offline
                      Medison
                      wrote 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

                      • 1
                      • 2
                      • 3
                      • Login

                      • Don't have an account? Register

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