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[6]
num_to_word(second, word, 5)
client_cmd(0, "speak %s", word)
second--
}