mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 16:53:21 +00:00
Minor changes
This commit is contained in:
parent
df0d2da42b
commit
98ec7a34fa
4 changed files with 2 additions and 2 deletions
Binary file not shown.
Binary file not shown.
|
@ -112,6 +112,7 @@ bool ProcessSpecialQueue() {
|
||||||
// BypassLimit();
|
// BypassLimit();
|
||||||
int tank = L4D2_SpawnTank(spActiveRequest.position, spActiveRequest.angle);
|
int tank = L4D2_SpawnTank(spActiveRequest.position, spActiveRequest.angle);
|
||||||
if(tank > 0 && IsClientConnected(tank)) {
|
if(tank > 0 && IsClientConnected(tank)) {
|
||||||
|
TeleportEntity(tank, spActiveRequest.position, spActiveRequest.angle, NULL_VECTOR);
|
||||||
PrintToConsoleAll("[ftt/debug] requested tank spawned %d -> %N", tank, target)
|
PrintToConsoleAll("[ftt/debug] requested tank spawned %d -> %N", tank, target)
|
||||||
pdata[tank].attackerTargetUid = spActiveRequest.targetUserId;
|
pdata[tank].attackerTargetUid = spActiveRequest.targetUserId;
|
||||||
pdata[tank].specialAttackFlags = view_as<int>(SPI_AlwaysTarget);
|
pdata[tank].specialAttackFlags = view_as<int>(SPI_AlwaysTarget);
|
||||||
|
@ -159,6 +160,7 @@ float GetIdealMinDistance(SpecialType specialType) {
|
||||||
// /*Boomer*/ case 2: return 1200.0;
|
// /*Boomer*/ case 2: return 1200.0;
|
||||||
case Special_Charger: return 19510.0;
|
case Special_Charger: return 19510.0;
|
||||||
case Special_Smoker: return 20000.0;
|
case Special_Smoker: return 20000.0;
|
||||||
|
case Special_Tank: return 20000.0;
|
||||||
case Special_Spitter: return 15000.0;
|
case Special_Spitter: return 15000.0;
|
||||||
default:
|
default:
|
||||||
return 12000.0;
|
return 12000.0;
|
||||||
|
|
|
@ -715,8 +715,6 @@ public Action Timer_DropSurvivor(Handle h, int client) {
|
||||||
hMinPlayers.IntValue = --abmExtraCount;
|
hMinPlayers.IntValue = --abmExtraCount;
|
||||||
if(hMinPlayers.IntValue < 4) {
|
if(hMinPlayers.IntValue < 4) {
|
||||||
hMinPlayers.IntValue = 4;
|
hMinPlayers.IntValue = 4;
|
||||||
PrintToConsoleAll("[EPI!!] hMinPlayers dropped below 4. This is a bug, please report to jackz.");
|
|
||||||
PrintToServer("[EPI!!] hMinPlayers dropped below 4. This is a bug, please report to jackz.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DropDroppedInventories();
|
DropDroppedInventories();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue