Plugin:
#include <amxmodx> #define PLUGIN "Deathrun FPS modified by Apple" #define VERSION "2.0" #define AUTHOR "Raku modified by Apple" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /fps", "FPS") register_clcmd("say fps", "FPS") register_clcmd("say /fpsback", "FPSBACK") register_clcmd("say fpsback", "FPSBACK") set_task(240.0, "info", _, _, _, "b"); } public FPS(id) { client_cmd(id, "fps_max 999"); client_cmd(id, "fps_modem 999"); client_cmd(id, "developer 1"); client_cmd(id, "cl_forwardspeed 999"); client_cmd(id, "cl_sidespeed 999"); client_cmd(id, "cl_backspeed 999"); client_print(id, print_chat, "Serwer ustawil ci komendy do szybkiego skakania!"); client_print(id, print_chat, "Aby cofnac ustawienia napisz /fpsback"); } public FPSBACK(id) { client_cmd(id, "fps_max 101"); client_cmd(id, "fps_modem 101"); client_cmd(id, "developer 0"); client_cmd(id, "cl_forwardspeed 400"); client_cmd(id, "cl_sidespeed 0"); client_cmd(id, "cl_backspeed 0"); client_print(id, print_chat, "Wrociles do standardowych ustawien!"); } public info(id) { client_print(id, print_chat, "Wpisz /fps , aby szybciej skakac!"); }
Z góry wielkie dzięki.