Usage:
amx_listmaps [# map to start] [# maps to list at once]
listmaps [# map to start] [# maps to list at once]
Both parameters are optional. If the two are omitted, it will display maps 1-10, if the second is omitted it will display 10 maps.
Suggestions are welcome.
pluginSome of you may remember OLO's amx_listmaps plugin. I thought it was the best thing since god knows what, and I've been using it ever since he released it.
Sadly, I was dismayed that nobody had ported it. I tried to simply "port" it myself, but I realized that there was a bug with read_dir() .. it displayed some files more than once! So while I decided to go and whip up a workaround for that, I pretty much rehauled OLO's code as well as adding an option to display more than 10 maps at once.
source