RSSy MYGO.pl Opublikowano Wrzesień 24, 2022 o 00:39 RSSy Udostępnij Opublikowano Wrzesień 24, 2022 o 00:39 This plugins blocks players with certain names from entering the server. The problem is that I can't block certain weird characters such as small letters or signs (ᴹ*ᴶ*ᴶ*ᴸ) (Δ). Is there a way to add these "weird" characters to the language of the plugin? Thanks! PHP Code: #include <amxmodx> #define PLUGIN "Name Contain" #define VERSION "1.0" #define AUTHOR "Ale" new const Contenido[][]= { "CS Player |", "HOL |", "CHIno} |" } public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public client_putinserver(id) { new name[32]; get_user_name(id, name, charsmax(name)) for(new i = 0; i <sizeof Contenido; i++) { if(containi(name, Contenido[i]) != -1) { server_cmd("kick ^"#%d^" 'Anti TAG'", get_user_userid(id)) } } } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi