fNk Posted October 29, 2009 Report Share Posted October 29, 2009 Vēlos saīsināt dažas admin komandas amx_banip uz xban un uzstādīju gag pluginu, amx_gag un vēlos saīsināt uz xgag... kurā failā lai to izdara ? vēlos zināt kā lai uzzina spēlētāju ip serverī... xlist nestrādā Link to comment Share on other sites More sharing options...
wasabikus Posted October 29, 2009 Report Share Posted October 29, 2009 Meklē te kkur bija viss bija paskaidrots un par to xlist nokčā pluginu arī te kkur ir amx_ip Link to comment Share on other sites More sharing options...
samuray Posted October 29, 2009 Report Share Posted October 29, 2009 amx_banip uz xban un uzstādīju gag pluginu, amx_gag un vēlos saīsināt uz xgag... kurā failā lai to izdara ? vēlos zināt kā lai uzzina spēlētāju ip serverī... xlist nestrādā .sma failā Link to comment Share on other sites More sharing options...
fNk Posted October 29, 2009 Author Report Share Posted October 29, 2009 .sma failos nevaru atrast gag un list komandu... Link to comment Share on other sites More sharing options...
DeimoN Posted October 29, 2009 Report Share Posted October 29, 2009 Tāpēc, ka šīs komandas nav pie defaultajām AMXX komandām. Gag un list ir savi .sma faili (piem., amx_gag.sma). Link to comment Share on other sites More sharing options...
novijas Posted October 29, 2009 Report Share Posted October 29, 2009 Kā saīsināt komandu no amx uz x ----------------------------------------- 1. Ejam uz direkcīju C:\counter-strike\cstrike\addons\amxmodx\scripting kā kuram! 2. Atverma vaļā SMA failu admincmd 3. Atrodam šīs rindas un uzreiz nomainām visas komandas uz x register_concmd("xkick", "cmdKick", ADMIN_KICK, "<name or #userid> [reason]") register_concmd("xban", "cmdBan", ADMIN_BAN, "<name or #userid> <minutes> [reason]") register_concmd("x_banip", "cmdBanIP", ADMIN_BAN, "<name or #userid> <minutes> [reason]") register_concmd("xaddban", "cmdAddBan", ADMIN_BAN, "<^"authid^" or ip> <minutes> [reason]") register_concmd("xunban", "cmdUnban", ADMIN_BAN, "<^"authid^" or ip>") register_concmd("xslay", "cmdSlay", ADMIN_SLAY, "<name or #userid>") register_concmd("xslap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]") register_concmd("xleave", "cmdLeave", ADMIN_KICK, "<tag> [tag] [tag] [tag]") register_concmd("xpause", "cmdPause", ADMIN_CVAR, "- pause or unpause the game") register_concmd("xwho", "cmdWho", ADMIN_ADMIN, "- displays who is on server") register_concmd("xcvar", "cmdCvar", ADMIN_CVAR, "<cvar> [value]") register_concmd("xplugins", "cmdPlugins", ADMIN_ADMIN) register_concmd("xmodules", "cmdModules", ADMIN_ADMIN) register_concmd("xmap", "cmdMap", ADMIN_MAP, "<mapname>") register_concmd("xcfg", "cmdCfg", ADMIN_CFG, "<filename>") register_concmd("xnick", "cmdNick", ADMIN_SLAY, "<name or #userid> <new nick>") register_concmd("xlast", "cmdLast", ADMIN_BAN, "- list the last few disconnected clients info"); register_clcmd("xrcon", "cmdRcon", ADMIN_RCON, "<command line>") register_clcmd("xshowrcon", "cmdShowRcon", ADMIN_RCON, "<command line>") register_clcmd("pauseAck", "cmdLBack") 5. Kad esam nomainījuši veram ciet un saglabājam to! 6. Tālāk tajā pašā direkcījā atrodam failu - compile.exe spiežam to un gaidam, kad viņš visus failus izkompelē 7. Turpat, atrodam folderi compiled, atveram un sameklējam AMXX failu - admincmd, nokopējam to failu un liekam direkcījā C:\counter-strike\cstrike\addons\amxmodx\plugins. Spiežam Yes Tas arī būtu viss! 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