How I can config the pitch?
How to aim directly to the button of the timer (kreedz) ?
PHP Code:
public countdown(id) {
goStart(id)
set_pev(id, pev_flags, pev(id, pev_flags) | FL_FROZEN)
g_iCountTime = CountSeconds;
set_task( 1.0 , "countdown2" , _ , _ , _ , "a" , g_iCountTime )
}
public countdown2(id) {
new number[6]
num_to_word(g_iCountTime, number, charsmax(number))
client_cmd(id, "spk vox/%s", number)
set_hudmessage(id, 255 , 0 , -1.0, -1.0 , 2 , 1.1 , 1.1 , 0.01 , 0.01)
show_hudmessage(id, "%d" , g_iCountTime-- )
if(gNum <= 0)
{
if(task_exists(TASK_ID))
{
remove_task(TASK_ID)
remove(id)
}
}
}
public remove(id) {
set_pev(id, pev_flags, pev(id, pev_flags) & ~FL_FROZEN)
set_hudmessage(id, 255 , 0 , -1.0, 0.90 , 2 , 1.1 , 1.1 , 0.01 , 0.01)
show_hudmessage(id, "GO GO GO!!!")
client_cmd(id, "spk vox/go")
}