server.cfg
Posted: 29 Jul 2019, 10:49
what is the best server.cfg for zombie escape mod that Increases the quality and the performance of server also Reduces the player's ping...?
say /fixlag to fix your lag
Code: Select all
#include <amxmodx>
#include <amxmisc>
#include <zombie_escape>
#define PLUGIN "FixLag"
#define VERSION "1.0"
#define AUTHOR "Kaya Gaming"
new g_MaxPlayers
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /fixlag","fixlag")
g_MaxPlayers = get_maxplayers();
}
public fixlag(id)
{
client_cmd(id,"cl_cmdrate 60")
client_cmd(id,"cl_updaterate 60")
client_cmd(id,"rate 25000")
client_cmd(id,"net_graph 3")
ze_colored_print(id, "!n[!gZombie Escape!n] Your Lag have been !tFixed!n!")
}
public ze_zombie_appear()
{
for(new id = 1; id <= g_MaxPlayers; id++)
{
set_task(30.0,"print_info", id)
}
}
public print_info(id)
{
ze_colored_print(id,"!n[!gZombie Escape!n] If you are laggin just say !t/fixlag!n.")
}
Muhammet20 wrote: ↑4 years agosay /fixlag to fix your lagCode: Select all
#include <amxmodx> #include <amxmisc> #include <zombie_escape> #define PLUGIN "FixLag" #define VERSION "1.0" #define AUTHOR "Kaya Gaming" new g_MaxPlayers public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /fixlag","fixlag") g_MaxPlayers = get_maxplayers(); } public fixlag(id) { client_cmd(id,"cl_cmdrate 60") client_cmd(id,"cl_updaterate 60") client_cmd(id,"rate 25000") client_cmd(id,"net_graph 3") ze_colored_print(id, "!n[!gZombie Escape!n] Your Lag have been !tFixed!n!") } public ze_zombie_appear() { for(new id = 1; id <= g_MaxPlayers; id++) { set_task(30.0,"print_info", id) } } public print_info(id) { ze_colored_print(id,"!n[!gZombie Escape!n] If you are laggin just say !t/fixlag!n.") } [/quote] bro cl_updaterate "10" cl_cmdrate "10"