|
發表於 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[6]
- num_to_word(second, word, 5)
-
- client_cmd(0, "speak %s", word)
-
- second--
- }
複製代碼 |
|