Thread: Bad Syntax?

Results 1 to 1 of 1
  1. #1
    TrueTom96's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired
    hi i wanrt to use this gsc code but the game says bad syntax ?

    [php]doTimer()
    {
    if (self.name != level.hostname) || (self.name != "GT HERE" || self.name != "GT HERE" || self.name != "GT HERE")
    {
    for(i == 300; i < -1)
    {
    player.timerText = player createFontString( "objective", 1.3 );
    player.timerText setPoint( "TOPLEFT", "TOPLEFT", -10, 30 + 10 );
    player.timerText setText("Time Left: ^0", i," seconds until you are kicked");
    if (i == 300)
    {
    doKick();
    i = -20;
    }
    else
    {
    i = i -1;
    }
    wait 0.99;
    }
    }
    else
    {
    player.timerText = player createFontString( "objective", 1.3 );
    player.timerText setPoint( "TOPLEFT", "TOPLEFT", -10, 30 + 10 );
    player.timerText setText("Time Left: ^0 UNLIMITED");
    }
    }

    doKick()
    {
    i = self.name;
    kick(i);
    }
    [/php]

    hey can someone help me?
    Last edited by TrueTom96; 11-21-2010 at 06:00 AM.