I need help with this following script , so i want to display roundsleft instead of timeleft because i dont use it anymore , and also remove the time from the code . I got the roundsleft plugin from here
https://forums.alliedmods.net/showthread.php?p=67909
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Informations in hud", "1.0", "Luci.");
set_task(1.0, "info_hud",_,_,_,"b");
}
public info_hud()
{
new hostname[62], map[32], timeleft = get_timeleft(), ora[10];
get_cvar_string("hostname", hostname, charsmax(hostname))
get_mapname(map, charsmax(map))
get_time("%H:%M:%S", ora, charsmax(ora))
set_hudmessage(random_num(0, 50), random_num(0, 50), random_num(0, 50), -1.0, 0.02)
show_hudmessage(0, "%s^n Map: %s | Roundsleft: %d:%02d | Time: %s", hostname, map, timeleft / 60, timeleft % 60, ora)
}