Move sm_forcestage to extrafinaletanks

This commit is contained in:
Jackzie 2021-05-03 09:55:51 -05:00
parent 1f7ccafb64
commit a3c39aa26a
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
2 changed files with 7 additions and 0 deletions

View file

@ -33,11 +33,18 @@ public void OnPluginStart()
HookEvent("tank_killed", Event_TankKilled);
HookEvent("tank_spawn", Event_TankSpawn);
RegAdminCmd("sm_forcestage", Command_ForceStage, ADMFLAG_CHEATS);
#if defined DEBUG
CreateTimer(1.0, Timer_ShowFinale, _, TIMER_REPEAT);
#endif
}
public Action Command_ForceStage(int client, int args) {
L4D2_ForceNextStage();
return Plugin_Handled;
}
static int extraTankStage = 0;
static int extraTanksCount = 0;
/* extraTankStage stages: