Page 1 of 1
fps max , fps_override 0
Posted: 2019 Feb 14 08:37
by popilas
Sveiki, gal kas turit fps_max 101 plugina? Butu geriausia kad jeigu ateina zaidejas su daugiau negu 101 fps jo nekikintu(jeigu ne slow hack

) o padarytu 101
bei fps_override 0 nes serveris leidzia padaryti fps_override 1/...
Re: fps max , fps_override 0
Posted: 2019 Feb 14 22:22
by nullatonce
Slowhack prevencija
"Slowhack - žaidėjo client failų/nustatymų keitimas be žaidėjo žinios ir sutikimo".
Šiek tiek kvailą kai patį galima pamatyti temose apie slowhack diskucijas, bet apibrėžimo nežinai

Re: fps max , fps_override 0
Posted: 2019 Feb 27 02:08
by laimiukas3
kazka radau nezinau ar tai
Code: Select all
#include <amxmodx> #define POPUP_DELAY 5.0 new ChangedSettings[][] ={ "fps_max 101", "developer 0"}; new Title[128] = "To play here you must accept these settings:";new Yes[] = "yes (your settings will be channged)";new No[] = "no (you will be kicked)";new KickReason[] = "You were kicked because hleV wanted so"; public plugin_init(){ register_plugin("Settings Pop-Up", "1.1", "hleV"); for (new Num = 0; Num < sizeof(ChangedSettings); Num++) format(Title, 127, "%s^n%s", Title, ChangedSettings[Num]);} public client_putinserver(Cl) set_task(POPUP_DELAY, "ShowMenu", Cl); public ShowMenu(Cl){ new Menu = menu_create(Title, "MenuChoice"); menu_additem(Menu, Yes); menu_additem(Menu, No); menu_setprop(Menu, MPROP_PERPAGE, 0); menu_setprop(Menu, MPROP_EXIT, MEXIT_NEVER); menu_display(Cl, Menu, 0);} public MenuChoice(Cl, Menu, Item){ switch (++Item) { case 1: for (new Num = 0; Num < sizeof(ChangedSettings); Num++) client_cmd(Cl, ChangedSettings[Num]); case 2: server_cmd("kick #%d ^"%s^"", get_user_userid(Cl), KickReason); } menu_destroy(Menu);}