mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-08 07:53: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
Binary file not shown.
|
@ -33,11 +33,18 @@ public void OnPluginStart()
|
||||||
HookEvent("tank_killed", Event_TankKilled);
|
HookEvent("tank_killed", Event_TankKilled);
|
||||||
HookEvent("tank_spawn", Event_TankSpawn);
|
HookEvent("tank_spawn", Event_TankSpawn);
|
||||||
|
|
||||||
|
RegAdminCmd("sm_forcestage", Command_ForceStage, ADMFLAG_CHEATS);
|
||||||
|
|
||||||
#if defined DEBUG
|
#if defined DEBUG
|
||||||
CreateTimer(1.0, Timer_ShowFinale, _, TIMER_REPEAT);
|
CreateTimer(1.0, Timer_ShowFinale, _, TIMER_REPEAT);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Action Command_ForceStage(int client, int args) {
|
||||||
|
L4D2_ForceNextStage();
|
||||||
|
return Plugin_Handled;
|
||||||
|
}
|
||||||
|
|
||||||
static int extraTankStage = 0;
|
static int extraTankStage = 0;
|
||||||
static int extraTanksCount = 0;
|
static int extraTanksCount = 0;
|
||||||
/* extraTankStage stages:
|
/* extraTankStage stages:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue