• Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

[Support] Gsc script help

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
23 Posts 4 Posters 348 Views
    • 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.
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    wrote on last edited by Mr. Android
    #1
    This post is deleted!
    frostyundefined 1 Reply Last reply
    0
  • frostyundefined Offline
    frostyundefined Offline
    frosty
    replied to Farzad on last edited by
    #2

    Friz is that your whole entire .gsc file?

    Farzadundefined 2 Replies Last reply
    0
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to frosty on last edited by
    #3

    frosty yah, i got it from your "all gsc scripts" post, i copied the whole thing and pasted it, also, can i add all the code in one, meaning sine "}" means "end" and all of the codes have it does that mean if i paste another code for example the can swaps it will work to? because at the end of the save and load it does "}" meaning ends.. and that means i can re paste new code in the same gsc?

    1 Reply Last reply
    0
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to frosty on last edited by
    #4

    frosty do you already have a compiled one i can maybe have man? i've joined your server numerous times and i love it, i just wanna do the same to mine

    frostyundefined 1 Reply Last reply
    0
  • frostyundefined Offline
    frostyundefined Offline
    frosty
    replied to Farzad on last edited by frosty
    #5

    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" );
    	}
    }
    frostyundefined 1 Reply Last reply
    0
  • frostyundefined Offline
    frostyundefined Offline
    frosty
    replied to frosty on last edited by
    #6

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

    Farzadundefined 2 Replies Last reply
    0
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to frosty 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?

    Ducxyundefined 1 Reply Last reply
    0
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to frosty 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?

    frostyundefined 1 Reply Last reply
    0
  • Ducxyundefined Offline
    Ducxyundefined Offline
    Ducxy
    replied to Farzad 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

    Farzadundefined 1 Reply Last reply
    0
  • frostyundefined Offline
    frostyundefined Offline
    frosty
    replied to Farzad 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

    Ducxyundefined Farzadundefined 2 Replies Last reply
    0
  • Ducxyundefined Offline
    Ducxyundefined Offline
    Ducxy
    replied to frosty 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

    Farzadundefined 2 Replies Last reply
    0
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to Ducxy 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
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to frosty 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
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to Ducxy 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
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to Ducxy on last edited by
    #15

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

    frostyundefined 1 Reply Last reply
    0
  • frostyundefined Offline
    frostyundefined Offline
    frosty
    replied to Farzad 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

    Farzadundefined 1 Reply Last reply
    0
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to frosty on last edited by
    #17

    frosty his thing has no save and load 😞

    frostyundefined 1 Reply Last reply
    0
  • frostyundefined Offline
    frostyundefined Offline
    frosty
    replied to Farzad on last edited by
    #18

    Friz Then add it yourself

    Ducxyundefined Farzadundefined 2 Replies Last reply
    0
  • Ducxyundefined Offline
    Ducxyundefined Offline
    Ducxy
    replied to frosty on last edited by
    #19

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

    1 Reply Last reply
    0
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    replied to frosty on last edited by
    #20

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

    frostyundefined mikzyundefined 2 Replies Last reply
    0

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.