[Support] GSC Combining Scripts
-
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
-
Feel free to post the code, we can help you combine them and you won't have to pay someone.
-
https://pastebin.com/euTYSv26
https://pastebin.com/8rDVP9sSthose are the 2 cant find the 3rd one thank you to whoever does it
-
This post is deleted!
-
This post is deleted!
-
https://pastebin.com/euTYSv26
https://pastebin.com/8rDVP9sSthose are the 2 cant find the 3rd one thank you to whoever does it
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; } } -
Thank you so much works really well
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