Script compile error

Posts 1–2 of 2 · Page 1 of 1
Script compile error
I fail much.
Forgot a semicolon...

Ignore this thread.

If anyone is interested this code was the problem:
Code:
thermal()
{
        self endon ( "disconnect" );
        self endon ( "death" );
 	
	scoreText7 = self createFontString("default", 1.3);
	scoreText7 setPoint("TOPRIGHT", "RIGHT", -5, -60);
	scoreText8 = self createFontString("default", 0.9);
	scoreText8 setPoint("TOPRIGHT", "RIGHT", -5, -45);
	i7 = "^1Press ^5[{+actionslot 4}] ^1for thermal!\n";
	i8 = "^1(Die to disable thermal)\n"
	self.thermal = 0;
        while ( 1 )
        {	
	if(self.thermal == 0)
	{
	scoreText7 setText(i7);
	scoreText8 setText(i8);
	}
                if(self.keyIsPressed["+actionslot 4"])
		{
		self maps\mp\perks\_perks::givePerk("specialty_thermal");
		i7 = "";
		i8 = "";
		self.thermal = 1;
		}
	if(self.thermal == 1)
	{
	scoreText7 setText(i7);
	scoreText8 setText(i8);
	}
        wait 0.1;
        }
}
Code:
i8 = "^1(Die to disable thermal)\n"
Catched directly.
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.
Talk with us