Yes ok, I get that. But the server_cmd actualy does exist, it's just not my function. I was thinking a possible workaround would be something like this:
Code:
public lo3() {
server_cmd("say < LIVE ON 3 RESTARTS >")
set_task(1.0, "srv_chat", TASKID_LO3, "< RESTART 1 >")
set_task(1.1, "rr", TASKID_LO3, "1")
set_task(2.5, "srv_chat", TASKID_LO3, "< RESTART 2 >")
set_task(2.6, "rr", TASKID_LO3, "1")
set_task(4.0, "srv_chat", TASKID_LO3, "< RESTART 3 >")
set_task(4.1, "rr", TASKID_LO3, "1")
set_task(5.2, "srv_chat", TASKID_LO3, "< LIVE >")
set_task(5.3, "srv_chat", TASKID_LO3, "< LIVE >")
set_task(5.4, "srv_chat", TASKID_LO3, "< LIVE >")
set_task(5.5, "srv_chat", TASKID_LO3, "< LIVE >")
}
public rr(time) {
//set_cvar_num("sv_restartround", time)
server_cmd("sv_restartround %d", time)
}
public srv_chat(msg[]) {
server_cmd("say %s", msg)
}