1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42. | #include <amxmodx>
#define PLUGIN "Deathrun FPS"
#define VERSION "1.0"
#define AUTHOR "Raku edit PrO^100WnIk"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /fps", "FPS")
register_clcmd("say /fpsback", "FPSBACK")
set_task(240.0, "info", _, _, _, "b");
set_task(120.0, "infoback", _, _, _, "b");
}
public FPS(id)
{
client_cmd(id, "fps_max 999");
client_cmd(id, "fps_modem 999");
client_cmd(id, "developer 1");
client_cmd(id, "m_filter 1");
client_print(id, print_chat, "Serwer ustawil ci komendy na wiecej fps!");
}
public FPSBACK(id)
{
client_cmd(id, "fps_max 701");
client_cmd(id, "fps_modem 100");
client_cmd(id, "developer 0");
client_cmd(id, "m_filter 0");
client_print(id, print_chat, "Serwer przywrocil ci standardowe ustawienia!");
}
public info(id)
{
client_print(id, print_chat, "Wpisz /fps , aby szybciej skakac!");
}
public infoback(id)
{
client_print(id, print_chat, "Wpisz /fpsback , aby przywrocic standardowe ustawienia!");
} |