mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
KickObserver OnJoin Var
This commit is contained in:
parent
5aaa8ee7d0
commit
31365d40ad
2 changed files with 2 additions and 1 deletions
|
|
@ -101,6 +101,7 @@ $Host::holoName6 = "Harbinger";
|
||||||
$Host::Info = "This is a Tribes 2 Classic server. More information in Discord. <a:playt2.com/discord>playt2.com/discord</a>";
|
$Host::Info = "This is a Tribes 2 Classic server. More information in Discord. <a:playt2.com/discord>playt2.com/discord</a>";
|
||||||
$Host::ItemRespawnTime = 30;
|
$Host::ItemRespawnTime = 30;
|
||||||
$Host::KickBanTime = 600;
|
$Host::KickBanTime = 600;
|
||||||
|
$Host::KickObserverStartOnJoin = 1;
|
||||||
$Host::KickObserverTimeout = 1200;
|
$Host::KickObserverTimeout = 1200;
|
||||||
$Host::LakRabbitDuelMode = 0;
|
$Host::LakRabbitDuelMode = 0;
|
||||||
$Host::LakRabbitNoSplashDamage = 1;
|
$Host::LakRabbitNoSplashDamage = 1;
|
||||||
|
|
|
||||||
|
|
@ -1824,7 +1824,7 @@ function DefaultGame::clientMissionDropReady(%game, %client)
|
||||||
for(%i = 1; %i <= 13; %i++)
|
for(%i = 1; %i <= 13; %i++)
|
||||||
$stats::weapon_damage[%client, %i] = "";
|
$stats::weapon_damage[%client, %i] = "";
|
||||||
|
|
||||||
if(%client.team $=0) //Observer only
|
if(%client.team $=0 && $Host::KickObserverStartOnJoin) //Observer only
|
||||||
{
|
{
|
||||||
if(!%client.isAdmin && !$Host::TournamentMode && $Host::KickObserverTimeout)
|
if(!%client.isAdmin && !$Host::TournamentMode && $Host::KickObserverTimeout)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue