Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First the timer works, now it doesnt show up !?
#1
also tried endons but then it keeps spamming

Code:
doTimer(countTime)
{

        self.TText = createServerFontString( "extrabig", 1.5 );
        self.TText setPoint( "CENTER", "CENTER", 0, -140 );
        self.TText.color = (255, 255, 255);
        self.TText.sort = 1001;
        self.TText setText("Returning in:");
            
        self.TTimer = createServerFontString( "extrabig", 2.2 );
        self.TTimer setPoint( "CENTER", "CENTER", 0, -120 );
        self.TTimer.color = (255, 0, 0);
        self.TTimer.sort = 1001;
        self.TTimer maps\mp\gametypes\_hud::fontPulseInit();
        //self.TTimer setValue(countTime);
        
        for(countTime = 10; countTime > -1; countTime--)
        {
            self.TTimer setValue(countTime);
            self.TTimer thread maps\mp\gametypes\_hud::fontPulse( level );
            wait 1;
        }
            self.TText destroyElem();
            self.TTimer destroyElem();
            self thread goBack();
}
First it showed up, but now it doesnt anymore Sad (no errors)



Same problem like in this thread maybe?
http://www.itsmods.com/forum/Thread-Code...oesnt.html
Black Ops Mods:

RPG(rocket launcher) mod
Get the Specials

Old aliasses:

eliteCVDelite
CVD

Reply

#2
>doTimer(countTime)
>for(countTime = 10; countTime > -1; countTime--)

You always set the countTime to 10, the parameter doesn't do anything.

Also I don't see what the problem is, your code suggest it SHOULD only show for 11 seconds.
[Image: MaEIQ.png]
Reply

#3
(03-16-2012, 16:45)Pozzuh Wrote: >doTimer(countTime)
>for(countTime = 10; countTime > -1; countTime--)

You always set the countTime to 10, the parameter doesn't do anything.

Also I don't see what the problem is, your code suggest it SHOULD only show for 11 seconds.

it doesnt show at all Sad first it did, isnt there a little add on code for this function to fix it?
Black Ops Mods:

RPG(rocket launcher) mod
Get the Specials

Old aliasses:

eliteCVDelite
CVD

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] CS addon for MW2(Sounds,show damage) Fl0w_.JACKDAN 1 4,412 09-29-2013, 19:46
Last Post: Nekochan
  Help remove timer Dynasty 15 7,706 08-25-2013, 13:56
Last Post: hillbilly
  Help Permissions DOESNT work Hallla 2 2,843 08-18-2013, 11:28
Last Post: hillbilly
  [News] Show your wallpaper. Nekochan 6 4,205 07-10-2013, 19:02
Last Post: House
Rainbow [News] Show your awesome mobile device. Nekochan 34 12,634 05-29-2013, 14:59
Last Post: Arteq
Rainbow [News] Show your awesome face Arteq 2 2,498 05-23-2013, 06:11
Last Post: OrangePL
  Help prefix doesnt work with shop koro35 2 2,665 05-18-2013, 10:51
Last Post: koro35
Rainbow Show your mobile device's wallpaper Nekochan 23 10,935 04-05-2013, 18:12
Last Post: SuperNovaAO
  Show your awesome wallpaper V2 JariZ 81 37,523 04-05-2013, 18:10
Last Post: SuperNovaAO
  Countdown timer pflaurie 2 2,251 03-14-2013, 11:30
Last Post: pflaurie

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.