Steell / Ultimate-Mapchooser

A SourceMod plugin that provides advanced and flexible control over map voting and rotation.
https://forums.alliedmods.net/showthread.php?t=134190
Other
48 stars 28 forks source link

Update umc-mapcommands.sp #34

Closed PremyslTalich closed 10 years ago

PremyslTalich commented 10 years ago

Add look up for "command" in map group and map, always when map start. In previous version, "command" wasn't executed when map was changed other way then UMC set map command (eg. sm_map or just server start).

But this might be a little messy and buggy solution..

1) I don't know how get root keyvalue of map cycle (sometimes umc_mapcycle and sometimes umc_rotation)

2) I am not sure how does my solution work if one map is placed in two different groups..