can someone give me a hand? I have this little plugin the thing that I would like to know well about (certain_time = random_float)
I would like it to come out every 3 min
PHP Code:
#include <amxmodx>
#define PLUGIN "Mensaje"
#define VERSION "1.0"
#define AUTHOR "Talquito."
new Float:cierto_tiempo;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
cierto_tiempo = random_float(60.0, 180.0);
set_task(cierto_tiempo, "show_hud", .flags="b");
}
public show_hud() {
set_hudmessage(255, 0, 0, -1.0, 0.28, 2, 1.0, 2.0, 0.01, 0.01, -1)
show_hudmessage(0, "VISITA NUESTRAS REDES:");
}