mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 12:13:20 +00:00
Move sm_forcestage to extrafinaletanks
This commit is contained in:
parent
1f7ccafb64
commit
a3c39aa26a
2 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue