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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Gsc script help

[Support] Gsc script help

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
23 Posts 4 Posters 3.7k 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.
  • frosty frosty

    Friz Well the save and load script cannot be the only things in your gsc script...
    You have to have the basic things

    
    init()
    {
    	level.clientid = 0;
    	level thread onplayerconnect();
    	player thread onplayerspawned();
    }
    
    onplayerconnect()
    {
    	for ( ;; )
    	{
    		level waittill( "connecting", player );
    		player.clientid = level.clientid;
    		level.clientid++;
    		player thread onplayerspawned();
    	}
    }
    
    onplayerspawned()
    {
    	level endon( "game_ended" );
            self endon( "disconnect" );
    	
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    		self IPrintLnBold( "^5whatever welcome message you want here" );
    	}
    }
    frosty Offline
    frosty Offline
    frosty
    wrote on last edited by
    #6

    frosty Add your save and load script to the bottom, and call the function in onplayerspawned()

    Farzad 2 Replies Last reply
    0
    • frosty frosty

      frosty Add your save and load script to the bottom, and call the function in onplayerspawned()

      Farzad Offline
      Farzad Offline
      Farzad
      wrote on last edited by
      #7

      frosty sir, when you say this term "call the function" im not aware of the meaning bro? can you please say this in easier way?

      Ducxy 1 Reply Last reply
      0
      • frosty frosty

        frosty Add your save and load script to the bottom, and call the function in onplayerspawned()

        Farzad Offline
        Farzad Offline
        Farzad
        wrote on last edited by Farzad
        #8

        frosty so after putting that code first, after } do i put the save and load code then i compile man?

        frosty 1 Reply Last reply
        0
        • Farzad Farzad

          frosty sir, when you say this term "call the function" im not aware of the meaning bro? can you please say this in easier way?

          Ducxy Offline
          Ducxy Offline
          Ducxy
          wrote on last edited by
          #9

          Friz This is basic stuff man, if you're trying to run a server and dont know any of this, its not even worth trying because you will have more issues down the road more than likely

          Farzad 1 Reply Last reply
          0
          • Farzad Farzad

            frosty so after putting that code first, after } do i put the save and load code then i compile man?

            frosty Offline
            frosty Offline
            frosty
            wrote on last edited by
            #10

            Friz I want people to learn how to do this stuff. I am not here to spoon feed. You can look at other things such as menu bases on how to call the function. I want people to actually understand what they are doing before using these things

            Ducxy Farzad 2 Replies Last reply
            0
            • frosty frosty

              Friz I want people to learn how to do this stuff. I am not here to spoon feed. You can look at other things such as menu bases on how to call the function. I want people to actually understand what they are doing before using these things

              Ducxy Offline
              Ducxy Offline
              Ducxy
              wrote on last edited by Ducxy
              #11

              frosty exactly, we need people to learn just like you and I did. There is plenty of tutorials online on how to make menus and edit bases

              Farzad 2 Replies Last reply
              0
              • Ducxy Ducxy

                Friz This is basic stuff man, if you're trying to run a server and dont know any of this, its not even worth trying because you will have more issues down the road more than likely

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

                @MrDucxy can you just say me or no? because i have everything else working, im not going to learn the gsc language or whatever, there are trillions of tutroaisl, but i no point, i'd rather use people's scripts

                1 Reply Last reply
                0
                • frosty frosty

                  Friz I want people to learn how to do this stuff. I am not here to spoon feed. You can look at other things such as menu bases on how to call the function. I want people to actually understand what they are doing before using these things

                  Farzad Offline
                  Farzad Offline
                  Farzad
                  wrote on last edited by Farzad
                  #13

                  frosty can you please send me your compiled one? why can't you just do that i dont get it bro? can i buy it or something?

                  1 Reply Last reply
                  0
                  • Ducxy Ducxy

                    frosty exactly, we need people to learn just like you and I did. There is plenty of tutorials online on how to make menus and edit bases

                    Farzad Offline
                    Farzad Offline
                    Farzad
                    wrote on last edited by
                    #14

                    @MrDucxy i can learn it fast, but i already have you people, their is no point

                    1 Reply Last reply
                    0
                    • Ducxy Ducxy

                      frosty exactly, we need people to learn just like you and I did. There is plenty of tutorials online on how to make menus and edit bases

                      Farzad Offline
                      Farzad Offline
                      Farzad
                      wrote on last edited by
                      #15

                      @MrDucxy you have disocrd man? i can pay you for the compiled script or no?

                      frosty 1 Reply Last reply
                      0
                      • Farzad Farzad

                        @MrDucxy you have disocrd man? i can pay you for the compiled script or no?

                        frosty Offline
                        frosty Offline
                        frosty
                        wrote on last edited by
                        #16

                        Friz

                        1. There are not trillions of tutorials
                        2. You are saying you will not learn it because you can use other scripts, which is not true because you clearly cannot use mine.
                        3. It is so easy to get the basics. You can just mess with things in a gsc file, and see what works and what doesn't.
                        4. I don't sell scripts that I have not made.
                        5. If you are not going to be learning anything and just use other people's thing to make a good server, then I would not suggest making one. You have to make your server unique, and to do that, you need to learn some portion of GSC.

                        I made that thread to help out server owners, but also give them a sense of having to do it themselves, aswell.
                        If you want to do stuff like this "pre compiled" then just download Enki's FFA Base Mod

                        Farzad 1 Reply Last reply
                        0
                        • frosty frosty

                          Friz

                          1. There are not trillions of tutorials
                          2. You are saying you will not learn it because you can use other scripts, which is not true because you clearly cannot use mine.
                          3. It is so easy to get the basics. You can just mess with things in a gsc file, and see what works and what doesn't.
                          4. I don't sell scripts that I have not made.
                          5. If you are not going to be learning anything and just use other people's thing to make a good server, then I would not suggest making one. You have to make your server unique, and to do that, you need to learn some portion of GSC.

                          I made that thread to help out server owners, but also give them a sense of having to do it themselves, aswell.
                          If you want to do stuff like this "pre compiled" then just download Enki's FFA Base Mod

                          Farzad Offline
                          Farzad Offline
                          Farzad
                          wrote on last edited by
                          #17

                          frosty his thing has no save and load 😞

                          frosty 1 Reply Last reply
                          0
                          • Farzad Farzad

                            frosty his thing has no save and load 😞

                            frosty Offline
                            frosty Offline
                            frosty
                            wrote on last edited by
                            #18

                            Friz Then add it yourself

                            Ducxy Farzad 2 Replies Last reply
                            0
                            • frosty frosty

                              Friz Then add it yourself

                              Ducxy Offline
                              Ducxy Offline
                              Ducxy
                              wrote on last edited by
                              #19

                              frosty Thanks man, that wraps up what i wanted to say.

                              1 Reply Last reply
                              0
                              • frosty frosty

                                Friz Then add it yourself

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

                                frosty why are you being like this, why are you mean?

                                frosty mikzy 2 Replies Last reply
                                0
                                • Farzad Farzad

                                  frosty why are you being like this, why are you mean?

                                  frosty Offline
                                  frosty Offline
                                  frosty
                                  wrote on last edited by
                                  #21

                                  Friz im not being mean... By the amount of time it took you to wait for these messages, you literally could have already understood how to call a function and have a running server...

                                  Ducxy 1 Reply Last reply
                                  0
                                  • frosty frosty

                                    Friz im not being mean... By the amount of time it took you to wait for these messages, you literally could have already understood how to call a function and have a running server...

                                    Ducxy Offline
                                    Ducxy Offline
                                    Ducxy
                                    wrote on last edited by
                                    #22

                                    frosty facts though lmao. i learned most of GSC in a day

                                    1 Reply Last reply
                                    0
                                    • Farzad Farzad

                                      frosty why are you being like this, why are you mean?

                                      mikzy Offline
                                      mikzy Offline
                                      mikzy
                                      Banned
                                      wrote on last edited by
                                      #23

                                      Farzad did you ever figure out how to learn basic gsc code that even my grandma could learn?

                                      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
                                      • 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