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-- );
}
__________________