Este plugin corrige en agmodx el valor timeleft, por ejemplo el uso del client command "say timeleft" , en el uso de plugins que obtienen el valor timeleft, etc.
Basicamente cuando un jugador se esta conectando al servidor el plugin obtiene el valor de mp_timelimit y ejecuta mp_timelimit (con el valor que tenga).
Código:
/* AMX Mod X
* Fix AGMODX TIMELIMIT for Half-Life
* nameless.battle1942@gmail.com
* https://steamcommunity.com/id/namelessbattle/
*/
#include <amxmodx>
#include <fakemeta>
#define VERSION "0.1"
public plugin_init()
{
register_plugin( "Fix AGMODX Timelimit", VERSION, "Nameless Battle" )
register_clcmd("say !timeleft", "Fuente_");
}
public client_putinserver(id)
{
new timelimit[6]
get_cvar_string("mp_timelimit",timelimit,6)
server_cmd("mp_timelimit %s", timelimit)
}
public Fuente_(id)
{
client_print(id, print_chat, "[fix_timelimit] Link de descarga en la consola...");
console_print(id,"Code y Actualizaciones del plugin https://www.imperiumgames.com.ar/foro/forumdisplay.php?f=66");
console_print(id,"https://www.mediafire.com/file/qrrsijvf2fn82i8/fix_timelimit.amxx/file");
}
Descarga:https://www.mediafire.com/file/qrrsi...imit.amxx/file