02-13-2012, 22:24
02-14-2012, 02:15
Maybe it is for inactive spectators (not using camera controls).
Or it's not implemented in MW2.
Or it only works if g_inactivity is set as well.
Or it's not implemented in MW2.
Or it only works if g_inactivity is set as well.
09-06-2012, 22:22
(02-14-2012, 02:15)SuperNovaAO Wrote: [ -> ]Maybe it is for inactive spectators (not using camera controls).
Or it's not implemented in MW2.
Or it only works if g_inactivity is set as well.
I really really really want to set this but i tested it and it's not implemented. All I wish is to kick people who do not choose a team within 3 or so minutes after joining (so it basicly kicks afk players after a map changes, it's for snd)
I tried testing with
Code:
init()
{
......... (other stuff)
level thread onPlayerConnecting();
}
onPlayerConnecting()
{
for(;;)
{
level waittill( "connected", player );
......... (other stuff)
player thread specCheck();
}
}
SpecCheck()
{
self endon( "disconnect" );
if (self.pers["team"] == "spectator"){
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
wait 1;
}
}