shine Posted June 15, 2008 Report Share Posted June 15, 2008 (edited) More Previous Maps 0.7 Gribeeju jau likt topika, ko taisiija "Billabong", bet taakaa vinju sleedza... jataisa pasham jauns. Vakar jau iesaaku taisiit un shodien pa dazhaam min pabeidzu. Vienkarshi sakot rakstot chataa "/prevmaps", tu redzeesi peedeejaas 3 speletaas mapes. Cik esmu dzirdeejis vairaakiem shaads plugins bija vajadziigs, un nedomaaju, ka taads veel ir. Nu vismaz amxmodx.org pie approved vinju neatradu. So...: #include <amxmodx> #include <amxmisc> new filen[128] public plugin_init() { register_plugin("More Prev Maps","0.7","Sh!nE*") register_clcmd("say /prevmaps","show_maps") register_clcmd("say_team /prevmaps","show_maps") get_configsdir(filen,255) format(filen,255,"%s/prevmaps.txt",filen) } public show_maps(id) { new file = fopen(filen,"r") if(file) { new alldata[128],maps[3][32] fgets(file,alldata,127) parse(alldata,maps[0],31,maps[1],31,maps[2],31) if(equali(maps[0][2],"")) format(maps[0],31,"No Prev Maps") client_print(id,print_chat,"[PrevMaps] %s %s %s",maps[0],maps[1],maps[2]) fclose(file) return PLUGIN_HANDLED } return PLUGIN_CONTINUE } public plugin_end() { new map[33],newdata[128],olddata[128] get_mapname(map,32) new file = fopen(filen,"r+") if(file) { fgets(file,olddata,127) format(newdata,127,"%s %s",map,olddata) fseek(file,0,SEEK_SET) fputs(file,newdata) fclose(file) } } Edited June 15, 2008 by shine Link to comment Share on other sites More sharing options...
Kiwix Posted June 15, 2008 Report Share Posted June 15, 2008 http://forums.alliedmods.net/showthread.ph...hlight=lastmaps lūk ir ar 5 mapēm... =] Bet vienalga šis arī noderēs... Link to comment Share on other sites More sharing options...
shine Posted June 15, 2008 Author Report Share Posted June 15, 2008 . Nepamekleeju searchaa.. domaaju shaads plugins noteikti tiktu submitots . Damnit XD. Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 a resursus sis plugins maz ed ? Link to comment Share on other sites More sharing options...
shine Posted June 15, 2008 Author Report Share Posted June 15, 2008 (edited) Vinjsh tev HDD eed XD. Katru mapchange paris baitus. Taa neko need. Edited June 15, 2008 by shine Link to comment Share on other sites More sharing options...
remix.cc Posted June 15, 2008 Report Share Posted June 15, 2008 exx.. es jau tadu uztaisiiju codicam... btw. say_team ? Link to comment Share on other sites More sharing options...
shine Posted June 15, 2008 Author Report Share Posted June 15, 2008 (edited) uj XD es to uz aatro pieliku. izlaboju. EDIT: Ieliec saveejo. Gribu vienu lietu apskatiities . Kaa tu panaci, ka vinjsh raada saakot ar pedejo mapi nevis vica versa. Edited June 15, 2008 by shine Link to comment Share on other sites More sharing options...
ntw Posted June 15, 2008 Report Share Posted June 15, 2008 khehe Cik pasaule maza. Mans Amxmodx pieprasījums parādās gignā . Tikai ir viena problēma - tas kas ir @ amxmodx ir nedaudz bugains. Man uz linux dēļ viņa serveri krašojās. 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