mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-08 03:03:20 +00:00
ftt: Use a queue for special spawning
This commit is contained in:
parent
c3e43d744a
commit
d9241b2949
11 changed files with 329 additions and 158 deletions
|
@ -37,12 +37,9 @@ int lastButtonUser;
|
|||
int lastCrescendoUser;
|
||||
int g_iAttackerTarget[MAXPLAYERS+1];
|
||||
int g_PendingBanTroll[MAXPLAYERS+1];
|
||||
int g_iInSpit[MAXPLAYERS+1];
|
||||
Timer g_inSpitTimer;
|
||||
|
||||
int gInstaSpecialType = -1;
|
||||
int gInstaSpecialTarget;
|
||||
float gInstaSpecialSpawnPos[3];
|
||||
float gInstaSpecialSpawnAng[3];
|
||||
bool gInstaSpecialInstaKill;
|
||||
int gInstaSpecialMagnet[MAXPLAYERS+1];
|
||||
|
||||
char steamids[MAXPLAYERS+1][64];
|
||||
|
@ -51,6 +48,17 @@ int shootAtTarget[MAXPLAYERS+1];
|
|||
int shootAtTargetLoops[MAXPLAYERS+1];
|
||||
int shootAtTargetHP[MAXPLAYERS+1];
|
||||
|
||||
bool spIsActive;
|
||||
enum SpecialSpawnFlags {
|
||||
Special_Anywhere = 0,
|
||||
Special_OnTarget = 1
|
||||
}
|
||||
|
||||
enum SpecialInternalFlags {
|
||||
SPI_KillOnSpawn = 1
|
||||
}
|
||||
|
||||
|
||||
#include <feedthetrolls/base>
|
||||
#include <feedthetrolls/trolls>
|
||||
#include <feedthetrolls/combos>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue