12/10/2020, 05:11 AM
Cómo puedo hacer que el hud salga cada 1 o 2 min? Porque tarda literal 3 min para salir.
Código PHP:
#include <amxmodx>
new Float:cierto_tiempo;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
cierto_tiempo = random_float(120.0, 180.0);
set_task(cierto_tiempo, "show_hud", .flags="b");
}
public show_hud() {
set_hudmessage(0, 0, 0, -1.0, 0.45);
show_hudmessage(0, "Los mejores del TOP^n1 : Martin^n2 : Mecha^nE : Jazmin");
}