Sync gamemode var on wave init

This commit is contained in:
2025-04-23 07:50:55 -04:00
parent 45d3d54731
commit 0254ad5eed
2 changed files with 15 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ void sudo(int task) {
ServerCommand("fb_startmoney 50000");
CPrintToChatAll("{darkviolet}[{yellow}INFO{darkviolet}] {red}PROFESSOR'S ASS {white}v0x20 (Core-v%s). Prepare yourself for the unpredictable... [{limegreen}by TTV/ProfessorFartsalot{white}]", PLUGIN_VERSION);
FastFire2("rain", "Alpha", "0", 0.0, false);
UpdateGamemode();
}
//Wave init
case 2: {
@@ -1012,6 +1013,9 @@ public Action TimedOperator(Handle timer, int job) {
CreateTimer(3.0, TimedOperator, 200);
return Plugin_Stop;
}
case 420:{ //Init from Wave Null.
UpdateGamemode();
}
case 6969: {
if (!core.isWave){
ExitEmergencyMode();