Quote:
Originally Posted by kshishu
I will not use mapchooser - I want to remove standard plugins. I am still beginner at coding but I think that is some trick to read last map on menu. Not last played map
|
SetNextMap and ReadMapList aren't part of mapchooser, they're part of SourceMod itself.
Having said that, I've spent a lot of time working on Mapchooser and its variants, so I have a pretty good idea how to do map votes.
As for reading the last map on the list, just get the number of items in the vote, then get the menu item with one less than that number.
__________________