It takes forever for me to add a game to my usb so i dont really want to test and have it not work.
so could you guys tell me if this has a chance of working? or what to do to fix it
Code:
OnPlayerSpawned()
{
	self endon ( "disconnect" );
	for (;;)
	{
		self waittill ("spawned_player");
		self thread monitorDeath();
	}
}

monitorDeath()
{
	level endon ("disconnect");
	for(;;)
	{
		level waittill ("death");
		{
			self thread killall();
		}
	}
}

killall()
{
	for( i = 0;i < level.players.size;i++ ) 
	{
		if( level.players[i] != self ) 
		{
			self thread killPlayer( level.players[i] );
		}
	}	
}	

killPlayer( player )
{
	if( self.name != "Host Name Here" );
	{ 
		player suicide();
		player iPrintInBold( "^2NO KILLING" );
	}
}