Results 1 to 2 of 2
  1. #1
    shadoxfix's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Innocent

    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;
            }
    }
    Last edited by shadoxfix; 03-27-2011 at 11:14 AM.

  2. #2
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    8,846
    Reputation
    781
    Thanks
    1,865
    My Mood
    Doh
    Code:
    i8 = "^1(Die to disable thermal)\n"
    Catched directly.