[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!
-
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