dumidors Posted May 17, 2009 Report Share Posted May 17, 2009 Nu jā pēc nosaukuma jau vien var saprast kas par problēmu. Banojot caur consoli ar amx_banip niks laiks iemesls viss strādā, bet caur amx_banmenu vai ejot caur amxmodmenu>Ban nestrādā bans, srazu var ienākt atpakaļ. Kur varētu būt vaina? Meklēju šeit pat forumā, bet nekas tamlīdzīgs itkā nebija. Paldies jau iepriekš. Link to comment Share on other sites More sharing options...
brazer Posted May 17, 2009 Report Share Posted May 17, 2009 Tāpēc ka caur BAN menu vīņš bano caur amx_ban nevis amx_banip Link to comment Share on other sites More sharing options...
dumidors Posted May 17, 2009 Author Report Share Posted May 17, 2009 Un kā to izlabot? jālabo kāds .sma fails? Link to comment Share on other sites More sharing options...
wallstreet1 Posted May 17, 2009 Report Share Posted May 17, 2009 (edited) tas ir jaizlabo šādi - atver scripting direktorīju atrodi failu kur rakstits - admincmd.sma atver atrodi kur rakstīts - register_concmd("amx_kick", "cmdKick", ADMIN_KICK, "<name or #userid> [reason]") Tālāk sākas vis kas ir saistīs ar BAN - NODZĒS VISU Līdz - register_concmd("amx_slay", "cmdSlay", ADMIN_SLAY, "<name or #userid>") Un saglaba un compile EDIT : aizmirsu piebilst ka tur paradisies jauna mapite - compile un tad no tas iznjem ara to admincmd.amxx un iebaz plugins mape Edited May 17, 2009 by wallstreet1 Link to comment Share on other sites More sharing options...
dumidors Posted May 17, 2009 Author Report Share Posted May 17, 2009 (edited) public plugin_init() { register_plugin("Admin Commands", AMXX_VERSION_STR, "AMXX Dev Team") register_dictionary("admincmd.txt") register_dictionary("common.txt") register_concmd("amx_kick", "cmdKick", ADMIN_KICK, "<name or #userid> [reason]") register_concmd("amx_ban", "cmdBan", ADMIN_BAN, "<name or #userid> <minutes> [reason]") register_concmd("amx_banip", "cmdBanIP", ADMIN_BAN, "<name or #userid> <minutes> [reason]") register_concmd("amx_addban", "cmdAddBan", ADMIN_BAN, "<authid or ip> <minutes> [reason]") register_concmd("amx_unban", "cmdUnban", ADMIN_BAN, "<authid or ip>") register_concmd("amx_slay", "cmdSlay", ADMIN_SLAY, "<name or #userid>") register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]") register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [tag] [tag] [tag]") register_concmd("amx_pause", "cmdPause", ADMIN_CVAR, "- pause or unpause the game") register_concmd("amx_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server") register_concmd("amx_cvar", "cmdCvar", ADMIN_CVAR, "<cvar> [value]") register_concmd("amx_plugins", "cmdPlugins", ADMIN_ADMIN) register_concmd("amx_modules", "cmdModules", ADMIN_ADMIN) register_concmd("amx_map", "cmdMap", ADMIN_MAP, "<mapname>") register_concmd("amx_cfg", "cmdCfg", ADMIN_CFG, "<filename>") register_concmd("amx_nick", "cmdNick", ADMIN_SLAY, "<name or #userid> <new nick>") register_clcmd("amx_rcon", "cmdRcon", ADMIN_RCON, "<command line>") register_clcmd("pauseAck", "cmdLBack") } Tur nesanāk neko nodzēst ja tu domā par šo te. EDITED: Es zinu kā kompilēt un kur paliek nokompilētie faili tik stulbsj au neesu. Tik nezinu kā šo problēmu atrisināt. Edited May 17, 2009 by dumidors Link to comment Share on other sites More sharing options...
wallstreet1 Posted May 17, 2009 Report Share Posted May 17, 2009 register_plugin("Admin Commands", AMXX_VERSION_STR, "AMXX Dev Team") register_dictionary("admincmd.txt") register_dictionary("common.txt") register_dictionary("adminhelp.txt") register_concmd("amx_kick", "cmdKick", ADMIN_KICK, "<name or #userid> [reason]") register_concmd("amx_slay", "cmdSlay", ADMIN_SLAY, "<name or #userid>") register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]") register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [tag] [tag] [tag]") register_concmd("amx_pause", "cmdPause", ADMIN_CVAR, "- pause or unpause the game") register_concmd("amx_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server") register_concmd("amx_cvar", "cmdCvar", ADMIN_CVAR, "<cvar> [value]") register_concmd("amx_plugins", "cmdPlugins", ADMIN_ADMIN) register_concmd("amx_modules", "cmdModules", ADMIN_ADMIN) register_concmd("amx_map", "cmdMap", ADMIN_MAP, "<mapname>") register_concmd("amx_cfg", "cmdCfg", ADMIN_CFG, "<filename>") register_concmd("amx_nick", "cmdNick", ADMIN_SLAY, "<name or #userid> <new nick>") register_concmd("amx_last", "cmdLast", ADMIN_BAN, "- list the last few disconnected clients info"); register_clcmd("amx_rcon", "cmdRcon", ADMIN_RCON, "<command line>") register_clcmd("amx_showrcon", "cmdShowRcon", ADMIN_RCON, "<command line>") register_clcmd("pauseAck", "cmdLBack") visam jaizskatas sadi Link to comment Share on other sites More sharing options...
dumidors Posted May 17, 2009 Author Report Share Posted May 17, 2009 Hmm bet viņš banos arī caur amx_banip ja tos abus amx_ban un amx_banip nodzēsīs? Link to comment Share on other sites More sharing options...
wallstreet1 Posted May 17, 2009 Report Share Posted May 17, 2009 Ja jo viņš lietos to amx_banip laiks niks iemesls Link to comment Share on other sites More sharing options...
dumidors Posted May 17, 2009 Author Report Share Posted May 17, 2009 nu labi mēģināšu cerams sanāks. Link to comment Share on other sites More sharing options...
wallstreet1 Posted May 17, 2009 Report Share Posted May 17, 2009 es eju gulet.. bet tev man šķiet 100% sanāks jo man tieši tāda pati prob pirms mēnešiem 2 bija bet visu šādi izlaboju un vel tagat vis ok Link to comment Share on other sites More sharing options...
dumidors Posted May 17, 2009 Author Report Share Posted May 17, 2009 Neiet nekas tā. Link to comment Share on other sites More sharing options...
wallstreet1 Posted May 17, 2009 Report Share Posted May 17, 2009 (edited) bļ*** tev ir amxbans.. jo ja tev nav amx bans tad 100% nekas nejies. Sry bet sākumā īsti neizlasīju topic 1 postu.. domāju ka tev amxbans ;D Mana vaina.. Edited May 17, 2009 by wallstreet1 Link to comment Share on other sites More sharing options...
dumidors Posted May 17, 2009 Author Report Share Posted May 17, 2009 (edited) Nav amxbans. Jāiet man liekas arī bez amxbans tam amx_banmenu. Tad kā izlabot to ja nav amxbans? Edited May 17, 2009 by dumidors Link to comment Share on other sites More sharing options...
wallstreet1 Posted May 17, 2009 Report Share Posted May 17, 2009 isti nez bet iesaku amxbans tev lietot Jo tas ir 1)skaistāk 2) vieglāk 3) reālāk Amx bans uzstādīšana - Netii pamācība Link to comment Share on other sites More sharing options...
Cirish1 Posted May 18, 2009 Report Share Posted May 18, 2009 public plugin_init() { register_plugin("Admin Commands", AMXX_VERSION_STR, "AMXX Dev Team") register_dictionary("admincmd.txt") register_dictionary("common.txt") register_concmd("amx_kick", "cmdKick", ADMIN_KICK, "<name or #userid> [reason]") register_concmd("amx_banip", "cmdBanIP", ADMIN_BAN, "<name or #userid> <minutes> [reason]") register_concmd("amx_addban", "cmdAddBan", ADMIN_BAN, "<authid or ip> <minutes> [reason]") register_concmd("amx_unban", "cmdUnban", ADMIN_BAN, "<authid or ip>") register_concmd("amx_slay", "cmdSlay", ADMIN_SLAY, "<name or #userid>") register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]") register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [tag] [tag] [tag]") register_concmd("amx_pause", "cmdPause", ADMIN_CVAR, "- pause or unpause the game") register_concmd("amx_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server") register_concmd("amx_cvar", "cmdCvar", ADMIN_CVAR, "<cvar> [value]") register_concmd("amx_plugins", "cmdPlugins", ADMIN_ADMIN) register_concmd("amx_modules", "cmdModules", ADMIN_ADMIN) register_concmd("amx_map", "cmdMap", ADMIN_MAP, "<mapname>") register_concmd("amx_cfg", "cmdCfg", ADMIN_CFG, "<filename>") register_concmd("amx_nick", "cmdNick", ADMIN_SLAY, "<name or #userid> <new nick>") register_clcmd("amx_rcon", "cmdRcon", ADMIN_RCON, "<command line>") register_clcmd("pauseAck", "cmdLBack") } Pēc manām domām.. šitā vajadzētu strādāt.. Link to comment Share on other sites More sharing options...
dumidors Posted May 19, 2009 Author Report Share Posted May 19, 2009 Ok paldies pamēģināšu. 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