<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Support] GSC: Spectators?]]></title><description><![CDATA[<pre><code>
checkAllowSpectating()
{
wait ( 0.05 );

update = false;
if ( !level.aliveCount[ game["attackers"] ] )
{
level.spectateOverride[game["attackers"&rsqb;&rsqb;.allowEnemySpectate = 1;
update = true;
}
if ( !level.aliveCount[ game["defenders"] ] )
{
level.spectateOverride[game["defenders"&rsqb;&rsqb;.allowEnemySpectate = 1;
update = true;
}
if ( update )
maps\mp\gametypes\_spectating::updateSpectateSettings();
}

</code></pre>
<p dir="auto">-If I wanted to set spectators to an automatic team, axis or allies, would this be the right code to do it, I think It’s not?</p>
]]></description><link>https://forum.plutonium.pw/topic/502/support-gsc-spectators</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 14:48:00 GMT</lastBuildDate><atom:link href="https://forum.plutonium.pw/topic/502.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Apr 2020 17:05:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Support] GSC: Spectators? on Mon, 06 Apr 2020 18:10:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sorex" aria-label="Profile: Sorex"><bdi>Sorex</bdi></a> With SnD, you can’t just spawn in if you connect late and the round has started.. I’m looking to auto set any spectators (people who connect late to the round and can’t spawn in) to allies or axis</p>
]]></description><link>https://forum.plutonium.pw/post/2873</link><guid isPermaLink="true">https://forum.plutonium.pw/post/2873</guid><dc:creator><![CDATA[Farzad]]></dc:creator><pubDate>Mon, 06 Apr 2020 18:10:12 GMT</pubDate></item><item><title><![CDATA[Reply to [Support] GSC: Spectators? on Mon, 06 Apr 2020 17:51:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/farzad" aria-label="Profile: Farzad"><bdi>Farzad</bdi></a> what is your code? the code to go in spectator mode?<br />
Use this to go in spectator mode</p>
<pre><code>goInSpectator(){
    self maps\mp\gametypes\_spectating::setSpectatePermissions();
    self allowSpectateTeam( "freelook", true );
    self.sessionstate = "spectator";
}
</code></pre>
]]></description><link>https://forum.plutonium.pw/post/2871</link><guid isPermaLink="true">https://forum.plutonium.pw/post/2871</guid><dc:creator><![CDATA[Sorex]]></dc:creator><pubDate>Mon, 06 Apr 2020 17:51:53 GMT</pubDate></item><item><title><![CDATA[Reply to [Support] GSC: Spectators? on Mon, 06 Apr 2020 17:35:29 GMT]]></title><description><![CDATA[<p dir="auto">If you don't know if it's the right/wrong code for it: <strong>test it.</strong></p>
]]></description><link>https://forum.plutonium.pw/post/2870</link><guid isPermaLink="true">https://forum.plutonium.pw/post/2870</guid><dc:creator><![CDATA[GewoonIraj]]></dc:creator><pubDate>Mon, 06 Apr 2020 17:35:29 GMT</pubDate></item></channel></rss>