[Support] Gsc script help
-
This post is deleted!
-
Friz is that your whole entire .gsc file?
-
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?
-
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
-
Friz Well the save and load script cannot be the only things in your gsc script...
You have to have the basic thingsinit() { 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 Add your save and load script to the bottom, and call the function in onplayerspawned()
-
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?
-
frosty so after putting that code first, after } do i put the save and load code then i compile man?
-
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
-
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
-
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
-
@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
-
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?
-
@MrDucxy i can learn it fast, but i already have you people, their is no point
-
@MrDucxy you have disocrd man? i can pay you for the compiled script or no?
-
- There are not trillions of tutorials
- You are saying you will not learn it because you can use other scripts, which is not true because you clearly cannot use mine.
- 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.
- I don't sell scripts that I have not made.
- 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 -
frosty his thing has no save and load
-
Friz Then add it yourself
-
frosty Thanks man, that wraps up what i wanted to say.
-
frosty why are you being like this, why are you mean?