Mensajes: 166
Temas: 57
Registro en: Jan 2019
Reputación:
0
20/03/2019, 02:01 AM
(Última modificación: 24/03/2019, 01:55 PM por javier123. Edited 1 time in total.)
necesito un plugins que bloquee los spam de otas comunidades lo haga quitarse
la idea es que el plugins tenga un archivo name.ini donde pueda agregar los nombres :
Nombre para bloquear
131
221
me ayudannn necesito plugins
Mensajes: 659
Temas: 97
Registro en: Feb 2016
Reputación:
12
Cambiarle el name seria slowhack creo...
Mensajes: 1,040
Temas: 89
Registro en: Jun 2015
Reputación:
21
(21/03/2019, 04:19 PM)Alejandro escribió: Cambiarle el name seria slowhack creo... Pero si le mandas un menu con el aviso que diga, para permanecer en el servidor se te cambia tu nick : CS Player | Javier a Javier? si acepta se le cambia el nick y sino kick
“Quien te quiere en su vida, volverá a buscarte”
Qué frase más estúpida
Porque quien te quiere en su vida, jamás se iría.
Mensajes: 166
Temas: 57
Registro en: Jan 2019
Reputación:
0
21/03/2019, 09:38 PM
(Última modificación: 21/03/2019, 09:39 PM por javier123.)
sipo puede ser . donde puedo bsucar el Plugins me ayudan buena idea
slowhack pero no es ninguna modificacion de sus archivos si no solo del nombre que esta en server no creo que sea tan malo para llamar slowhack
solo es un cambio de nombre
me ayudan a buscar un plugins que funcione
Mensajes: 659
Temas: 97
Registro en: Feb 2016
Reputación:
12
Es modificasion de su nombre sin su autorizacion, pero de la forma que dice hk no estaria mal creo
Mensajes: 166
Temas: 57
Registro en: Jan 2019
Reputación:
0
sipo kick al menos seria bueno , me ayudan con el plugins
Mensajes: 659
Temas: 97
Registro en: Feb 2016
Reputación:
12
Si, en un rato te lo paso.
Mensajes: 659
Temas: 97
Registro en: Feb 2016
Reputación:
12
Prueba:
Código PHP: #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)) } } }
Mensajes: 166
Temas: 57
Registro en: Jan 2019
Reputación:
0
23/03/2019, 10:45 PM
(Última modificación: 23/03/2019, 11:01 PM por javier123.)
ya compa lo probare y te aviso .. gracias por ayudar
perfecto es lo que busco , pero falta una cosa si esta dentro del server y se lo cambia me gustaria que igual lo kick si que es posible
Mensajes: 659
Temas: 97
Registro en: Feb 2016
Reputación:
12
Te recomiendo bloquear el cambio de nick en el sv y ya
Mensajes: 166
Temas: 57
Registro en: Jan 2019
Reputación:
0
o mejor crees que deste mismo plugins se pueda boquiar el cambio de nombre el server mejor ? creo que es mejor
Mensajes: 659
Temas: 97
Registro en: Feb 2016
Reputación:
12
Unelo al codigo y ya
Código PHP: #include <amxmodx> #include <fakemeta>
#define VERSION "0.1.0"
public plugin_init() { register_plugin("Block Change Name", VERSION, "0") register_forward(FM_ClientUserInfoChanged, "ClientUserInfoChanged") }
public ClientUserInfoChanged(id) { static const name[] = "name" static szOldName[32], szNewName[32] pev(id, pev_netname, szOldName, charsmax(szOldName)) if( szOldName[0] ) { get_user_info(id, name, szNewName, charsmax(szNewName)) if( !equal(szOldName, szNewName) ) { set_user_info(id, name, szOldName) return FMRES_HANDLED } } return FMRES_IGNORED }
Mensajes: 166
Temas: 57
Registro en: Jan 2019
Reputación:
0
asi ?
Código PHP: #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)) } } } #include <amxmodx> #include <fakemeta>
#define VERSION "0.1.0"
public plugin_init() { register_plugin("Block Change Name", VERSION, "0") register_forward(FM_ClientUserInfoChanged, "ClientUserInfoChanged") }
public ClientUserInfoChanged(id) { static const name[] = "name" static szOldName[32], szNewName[32] pev(id, pev_netname, szOldName, charsmax(szOldName)) if( szOldName[0] ) { get_user_info(id, name, szNewName, charsmax(szNewName)) if( !equal(szOldName, szNewName) ) { set_user_info(id, name, szOldName) return FMRES_HANDLED } } return FMRES_IGNORED }
Mensajes: 659
Temas: 97
Registro en: Feb 2016
Reputación:
12
xdddddddddd, toma:
Código PHP: #include <amxmodx> #include <fakemeta>
#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) register_forward(FM_ClientUserInfoChanged, "ClientUserInfoChanged") }
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)) } } }
public ClientUserInfoChanged(id) { static const name[] = "name" static szOldName[32], szNewName[32] pev(id, pev_netname, szOldName, charsmax(szOldName)) if( szOldName[0] ) { get_user_info(id, name, szNewName, charsmax(szNewName)) if( !equal(szOldName, szNewName) ) { set_user_info(id, name, szOldName) return FMRES_HANDLED } } return FMRES_IGNORED }
Mensajes: 35
Temas: 0
Registro en: Jul 2016
Reputación:
0
|