RSSy MYGO.pl Opublikowano Październik 17, 2020 o 16:28 RSSy Udostępnij Opublikowano Październik 17, 2020 o 16:28 Anti Name Change By null Players Can't change name , when someone try to change Server will say: Sorry, You are not allowed to change name. PHP Code: /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "ANTI Change Name" #define VERSION "0.1" #define AUTHOR "null" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public client_infochanged(id) { new newname[32],oldname[32] get_user_info(id, "name", newname,31) get_user_name(id,oldname,31) if(!is_user_connected(id) || is_user_bot(id)) return PLUGIN_CONTINUE; if(!equali(newname, oldname)) { //client_cmd(id, "name ^"%s^"",oldname); set_user_info(id,"name",oldname) client_print(id , print_chat , "[AMXX] Sorry, You are not allowed to change name."); return PLUGIN_HANDLED; } return PLUGIN_CONTINUE; } ---------------------------- EnJoy !! Attached Files AntiNameChange.amxx (764 Bytes) Get Plugin or Get Source (AntiNameChange.sma - 766 Bytes) Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi