Implemented optional support for the ConfigList plugin. It will execute the "zr_post_exec" list right before post map configs if it exists. Example usage in randommode.cfg and swarm.cfg.

This commit is contained in:
Richard Helgeby
2013-01-17 09:36:54 +01:00
parent b5291329c9
commit 6de9b9de13
6 changed files with 83 additions and 2 deletions
@@ -23,3 +23,9 @@ zr_infect_mzombie_respawn 1
// Disable respawning.
zr_respawn 0
zr_zspawn 0
// Use the ConfigList plugin to post execute swarm.post.cfg. ZR will detect this
// plugin and execute the "zr_post_exec" list if it exists.
cfglist_delete zr_post_exec
cfglist_create zr_post_exec
cfglist_add zr_post_exec sourcemod/zombiereloaded/swarm.post.cfg