Results 1 to 3 of 3
  1. #1
    TrueTom96's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired

    i need help with my code

    mw2 say bad syntax why?

    [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]

  2. #2
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy

  3. #3
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    /moved...........