mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 05:03:20 +00:00
Misc changes
This commit is contained in:
parent
ede9b88b10
commit
0b189669b5
11 changed files with 4366 additions and 130 deletions
|
@ -454,13 +454,11 @@ Action Timer_DirectorWitch(Handle h) {
|
|||
void DirectorSpawn(specialType special, int player = -1) {
|
||||
if(player <= 0)
|
||||
player = GetSuitableVictim();
|
||||
// PrintDebug(DEBUG_SPAWNLOGIC, "Director: spawning %s(%d) around %N (cnt=%d,lim=%d)", SPECIAL_IDS[view_as<int>(special)], special, player, g_spawnCount[view_as<int>(special)], g_spawnLimit[view_as<int>(special)]);
|
||||
if(special != Special_Witch && special != Special_Tank) {
|
||||
// Bypass director
|
||||
int bot = CreateFakeClient("EPI_BOT");
|
||||
if (bot != 0) {
|
||||
ChangeClientTeam(bot, 3);
|
||||
|
||||
CreateTimer(0.1, Timer_Kick, bot);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue