Raised This Month: $ Target: $400
 0% 

CountDown task + speech


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-18-2012 , 02:25   CountDown task + speech
Reply With Quote #1

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(idpev_flagspev(idpev_flags) | FL_FROZEN)
    
    
g_iCountTime CountSeconds;
    
set_task1.0 "countdown2" "a" g_iCountTime )
}

public 
countdown2(id) {
    
    new 
number[6]
    
num_to_word(g_iCountTimenumbercharsmax(number))
    
client_cmd(id"spk vox/%s"number)
    
    
set_hudmessage(id255 , -1.0, -1.0 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(idpev_flagspev(idpev_flags) & ~FL_FROZEN)
    
    
set_hudmessage(id255 , -1.00.90 1.1 1.1 0.01 0.01)
    
show_hudmessage(id"GO GO GO!!!")

    
client_cmd(id"spk vox/go")        

bazhenov93 is offline
 



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 07:55.


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