[Support] Gsc script help
-
This post is deleted!
-
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" ); } } -
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 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 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
-
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
-
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 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 -
- 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
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