For example, I have a hard
mp_timelimit = 20 in
server.cfg
ow to make the launch
map_times() in plagin After having passed the 19 mint on card?
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Test", "1.0", "Author")
}
public map_times()
{
...
}
So I did so, like running, but as you see failures would not be?
PHP Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("Nextmap Chooser", "1.5", "Sutar")
set_task(1.0, "time_maps");
}
public time_maps()
set_task((get_timeleft() - 60.0), "cmd");
public cmd()
client_print(0, print_chat, "Vote Change Map - Start.");
Here's wanted to do so, but did not work ...
PHP Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("Nextmap Chooser", "1.5", "Sutar")
set_task((get_pcvar_float(get_cvar_pointer("mp_timelimit")) - 60.0), "cmd");
}
public cmd()
client_print(0, print_chat, "Vote Change Map - Start.");
}