#include <amxmodx> #include <amxmisc> #define PLUGIN "3:12 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(190.0, "doSomething", 12345) } else { set_task(190.0, "doSomething", 12345) } } public doSomething() { server_cmd("team_win 1") }