View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-12-2018 , 21:53   Re: [CSS] Menu with map elimination
Reply With Quote #5

I forgot to mention, you can just call SetNextMap instead of using a ClientCommand to do it.

As for reading the previous map, you can't. However, you can read the current map using GetCurrentMap... and as I recall, you can use this in an OnMapEnd callback, which would pretty much be the same thing as reading the previous map.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-12-2018 at 21:55.
Powerlord is offline