Raised This Month: $ Target: $400
 0% 

Countdown


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-18-2013 , 16:45   Countdown
Reply With Quote #1

i made a little countdown
its doesnt working so well
1. the numbers is on each other but the countdown works
2. its flashing when other hud message on the screen comes up ? can i some how fix that?

and how can i add so when the countdown is on 0 i can set a hud message
Code:
public CountDown()
{
 set_task( 3.0, "CountDown1")
} 
public CountDown1()
{
 g_iCountTime = CountSeconds;
 set_task( 1.0, "Count" , _ , _ , _ , "a" , g_iCountTime );
}
public Count() 
{        
 set_hudmessage ( 10, 10, 255, -1.0, 0.35, 0, 0.1, 5.0, 0.1, 0.1, -1 )  
 show_hudmessage( 0 , "[%d] Seconds left to hide!" , g_iCountTime-- );
 
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode