timho2242 發表於 1-4-2010 22:25:22

求 個人 "臨完場自動倒數十秒"

求 個人 "臨完場自動倒數十秒"


簡介:
         每一個ser我諗都會轉場
         差唔多完場10秒戈陣
         會有把聲倒數十秒
         我相信有用steam cs 都會知道
         但係 "我發現non steam cs 都可以 "臨完場自動倒數十秒"
         請問有冇各位steam 或 non steam 人士可以幫我我呢???

         如有請回此post(帖) 唔該 多謝向位大大!

lkh931018 發表於 2-4-2010 12:39:35

i don't know if this will work because i haven't test it before
and i am tiro
/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "Change Map Count Down"
#define VERSION "1.0"
#define AUTHOR "Elliot"


public plugin_init() {
       register_plugin(PLUGIN, VERSION, AUTHOR)
      
       set_task(get_cvar_float("mp_timelimit") * 60.0 - get_gametime() - 11.0, "Countdownstart")
}

public Countdownstart() {
       set_task(1.0, "Countdown", 0, "", 0, "a", 10)
}

public Countdown() {
       static second
       if(!second)
            second = 10
      
       new word
       num_to_word(second, word, 5)
      
       client_cmd(0, "speak %s", word)
      
       second--
}

tony987852 發表於 2-4-2010 19:58:08

他應該是說要那個聲音?

lkh931018 發表於 3-4-2010 00:13:34

maybe, but the sound is also included in non-steam cs
that is in valve/sound/fvox or in valve/sound/vox
頁: [1]
查看完整版本: 求 個人 "臨完場自動倒數十秒"