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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] GSC Combining Scripts

[Support] GSC Combining Scripts

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
7 Posts 3 Posters 878 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.
  • RentalWTaken Offline
    RentalWTaken Offline
    RentalWTaken
    wrote on last edited by Mr. Android
    #1

    I am trying to combine 3 scripts I want to put into my server but keep getting errors. If someone can help me I will legit CashApp you $10. Please DM me on discord if you can this is so confusing. Discord: RentalWasTaken#4159

    1 Reply Last reply
    0
    • homura Offline
      homura Offline
      homura
      Banned
      wrote on last edited by
      #2

      Feel free to post the code, we can help you combine them and you won't have to pay someone.

      1 Reply Last reply
      0
      • RentalWTaken Offline
        RentalWTaken Offline
        RentalWTaken
        wrote on last edited by
        #3

        https://pastebin.com/euTYSv26
        https://pastebin.com/8rDVP9sS

        those are the 2 cant find the 3rd one thank you to whoever does it

        Trizz 1 Reply Last reply
        0
        • Trizz Offline
          Trizz Offline
          Trizz
          wrote on last edited by Trizz
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • Trizz Offline
            Trizz Offline
            Trizz
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • RentalWTaken RentalWTaken

              https://pastebin.com/euTYSv26
              https://pastebin.com/8rDVP9sS

              those are the 2 cant find the 3rd one thank you to whoever does it

              Trizz Offline
              Trizz Offline
              Trizz
              wrote on last edited by
              #6

              RentalWTaken (The community is the only reason I know anything so credit to them)

              #include common_scripts\utility;
              #include maps\mp\zombies\_zm;
              #include maps\mp\zombies\_zm_utility;
              #include maps\mp\gametypes_zm\_hud_util;
              #include maps\mp\gametypes_zm\_hud_message;
              #include maps\mp\_utility;
              #include common_scripts\utility;
              
              init()
              {
              	
              	level.clientid = 0;
              	level.perk_purchase_limit = 9;
              	level thread onplayerconnect();
              	drawZombiesCounter();
              }
              
              onplayerconnect()
              {
              	for ( ;; )
              	{
              		level waittill( "connecting", player );
              		player.clientid = level.clientid;
              		player thread onplayerspawned();
              		level.clientid++;
              	}
              }
              
              onplayerspawned()
              {
              	level endon( "game_ended" );
                      self endon( "disconnect" );
              	
              	for(;;)
              	{
              		self welcome();
              	}
              }
              
              welcome()
              {
                  self waittill( "spawned_player" );
                  wait 7;
                  self iprintln("^2" +self.name + "^7 , your perk limit has been removed. Have fun.");
              }
              
              drawZombiesCounter()
              {
                  level.zombiesCountDisplay = createServerFontString("Objective" , 1.7);
                  level.zombiesCountDisplay setPoint("RIGHT", "CENTER", 315, "CENTER");
              
                  thread updateZombiesCounter();
              }
              
              updateZombiesCounter()
              {
                  level endon("stopUpdatingZombiesCounter");
              
                  while(true)
                  {
                      zombiesCount = get_current_zombie_count();
                      level.zombiesCountDisplay setText("Zombies: " + zombiesCount);
              
                      waitForZombieCountChanged("stopUpdatingZombiesCounter");
                  }
              }
              
              recreateZombiesCounter()
              {
                  level notify("stopUpdatingZombiesCounter");
              
                  thread updateZombiesCounter();
              }
              
              waitForZombieCountChanged(endonNotification)
              {
                  level endon(endonNotification);
              
                  oldZombiesCount = get_current_zombie_count();
              
                  while(true)
                  {
                      newZombiesCount = get_current_zombie_count();
              
                      if(oldZombiesCount != newZombiesCount)
                      {
                          return;
                      }
              
                      wait 0.05;
                  }
              }
              
              1 Reply Last reply
              0
              • RentalWTaken Offline
                RentalWTaken Offline
                RentalWTaken
                wrote on last edited by
                #7

                Thank you so much works really well

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