RSSy MYGO.pl Opublikowano Styczeń 5, 2021 o 15:56 RSSy Udostępnij Opublikowano Styczeń 5, 2021 o 15:56 hi, if anyone could add a little something for me on this plugin, i use a simple resetscore plugin on my server, i want to add a cool feature i want to show on hud for whoever is spectating the player, how many time he has used the command, like player has used the resetscore 3 times can be on the top right corner, but the position is not important as i can change to where it fits better, if any one can add this for me plz PHP Code: #include <amxmodx>#include <reapi>#define PLUGIN "resetscore(ReAPI)"#define VERSION "1.0"#define AUTHOR "modders"public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR); register_clcmd("say .rr", "resetscore"); register_clcmd("say_team .rr", "resetscore"); register_clcmd("say /rs", "resetscore"); register_clcmd("say /resetscore", "resetscore");}public resetscore(id) { if(!is_user_connected(id)) return; set_entvar(id, var_frags, 0.0); set_member(id, m_iDeaths, 0); client_print_color(id, print_team_blue, "^3Score Resetado!"); client_cmd(id, "spk fvox/buzz.wav"); message_begin(MSG_ALL, 85); write_byte(id); write_short(0); write_short(0); write_short(0); write_short(0); message_end();} thanks Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi