Compile this..
Quote:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "3:00 Countdown"
#define VERSION "1.0"
#define AUTHOR "M249-M4A1"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "Countdown", "a", "1=0", "2=0")
}
public Countdown() {
if (task_exists(12345)) {
remove_task(12345)
set_task(180.0, "doSomething", 12345)
} else {
set_task(180.0, "doSomething", 12345)
}
}
public doSomething() {
server_cmd("team_win 1")
}
|
And add also get this plugin:
http://forums.alliedmods.net/showthr...force+team+win
Both of them will work as a "
Terrorists Win" at the end of the timer.
Make sure your round time is set to 3 minutes.
__________________