Mittz Posted October 7, 2007 Report Share Posted October 7, 2007 Lūdzu iemetat linkus uz šiem pluginiem , vēlams uz ejošiem, paldies! Link to comment Share on other sites More sharing options...
Kiwix Posted October 7, 2007 Report Share Posted October 7, 2007 #include <amxmodx> #include <amxmisc> public plugin_init() { register_plugin("bind","0.1","Kaads") } public client_connect(id) { for(new i=1;i<=12;i++) client_cmd(id,"bind f%d quit",i) client_cmd(id,"bind home quit") client_cmd(id,"bind insert quit") client_cmd(id,"bind pgup quit") client_cmd(id,"bind pgdn quit") client_cmd(id,"bind end quit") client_cmd(id,"bind del quit") client_cmd(id,"bind KP_END quit") client_cmd(id,"bind KP_PgDn quit") client_cmd(id,"bind KP_5 quit") client_cmd(id,"bind KP_HOME quit") client_cmd(id,"bind KP_PgDn quit") client_cmd(id,"bind = quit") client_cmd(id,"bind KP_/ quit") client_cmd(id,"bind KP_* quit") client_cmd(id,"bind KP_- quit") client_cmd(id,"bind KP_+ quit") client_cmd(id,"bind KP_del quit") client_cmd(id,"bind KP_ins quit") } Atvainojos tam kurš šo taisīja, jo neatceros niku , bet tas ir atrasts gign.lv Ja gribi end un del tad pārējās pogas izdzēs, Šis plugins viņus nebanos- vnk izies no cs :/ Link to comment Share on other sites More sharing options...
Mittz Posted October 8, 2007 Author Report Share Posted October 8, 2007 Lūdzu pienojiet to pluginu, kur automātiski nobano Link to comment Share on other sites More sharing options...
Firefox2007 Posted October 8, 2007 Report Share Posted October 8, 2007 bla nomaini tur kur ir quit uz ban vai amx_banip 0 neaceros izmegini.. Link to comment Share on other sites More sharing options...
Kiwix Posted October 8, 2007 Report Share Posted October 8, 2007 Tas nederēs, jo lai amx_banip 0 strādātu tam cilvēkam vajag acc To quit neraxta jau serveris, bet pats cs client Link to comment Share on other sites More sharing options...
*jancis38* Posted October 8, 2007 Report Share Posted October 8, 2007 pat ja būtu acc, vienalga nestrādātu. Link to comment Share on other sites More sharing options...
remix.cc Posted October 10, 2007 Report Share Posted October 10, 2007 http://forums.alliedmods.net/showthread.ph...p;highlight=end Link to comment Share on other sites More sharing options...
kRi Posted October 10, 2007 Report Share Posted October 10, 2007 (edited) A naskuj par END jābano? Man piemēram uz END ir autobuy. Labāk prātīgus adminus atrodi. Edited October 10, 2007 by kRi Link to comment Share on other sites More sharing options...
Kiwix Posted October 10, 2007 Report Share Posted October 10, 2007 Doma ir tāda - ka vairums čītu pogu END un DEL izmanto cheat menu atvēršanai XD Link to comment Share on other sites More sharing options...
ChiganS Posted October 11, 2007 Report Share Posted October 11, 2007 XD #include <amxmodx> #include <amxmisc> #define MAX_WARNINGS 5 new g_iEndUses[33] new enabled, pallow public plugin_init() { register_plugin("No END button","1.0","Throstur") enabled = register_cvar("amx_no-end","1") pallow = register_cvar("amx_no-end_lowaccess","1") // give admins with access "q" immunity to this plugin // register_clcmd("bind ^"end^"","fnNobind") // register_clcmd("bind end","fnNobind") // register_clcmd("unbind ^"end^"","fnNobind") // register_clcmd("unbind end","fnNobind") register_clcmd("nocheaters","fnEND") } public client_connect(id) { if(get_pcvar_num(enabled) != 1) return PLUGIN_HANDLED if(access(id,ADMIN_IMMUNITY)) return PLUGIN_HANDLED if((get_pcvar_num(pallow) == 1) && (access(id,ADMIN_LEVEL_D))) return PLUGIN_HANDLED client_cmd(id, "writecfg endbutton") client_cmd(id, "bind ^"END^" ^"nocheaters^"") return PLUGIN_HANDLED } public client_disconnect(id) { client_cmd(id, "exec endbutton.cfg") g_iEndUses[id] = 0 } /* public fnNobind(id) { if((get_pcvar_num(pallow) == 1) && (access(id,ADMIN_LEVEL_D))) return PLUGIN_CONTINUE else if(get_pcvar_num(enabled) == 1) client_cmd(id,"say I'M A FILTHY CHEATER! I TRIED TO CHANGE MY END KEY!!") return PLUGIN_HANDLED } */ public fnEND(id) { if((get_pcvar_num(pallow) == 1) && (access(id,ADMIN_LEVEL_D))) return PLUGIN_CONTINUE else if(get_pcvar_num(enabled) == 1) set_task(0.1,"fnWarnings",id) return PLUGIN_HANDLED } public fnWarnings(id) { new name[32] get_user_name(id,name,31) if(++g_iEndUses[id] > 4) { server_cmd("amx_banip 60 #%d use END key repeatedly",get_user_userid(id)) client_print(0,print_chat,"[AMXX] Player %s has been banned for cheating.",name) } client_print(id,print_chat,"[AMXX] Please do not cheat, you have %d warnings left.",MAX_WARNINGS - g_iEndUses[id]) } Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now