Serverul tău aici Licitează în licitația săptămânală Promoveaza serverul
csb-admin-map-menu / README.md
1 lines 1.3 KiB Markdown Source Rendered Raw Permalink History
<p><strong>CSB Admin Map Menu</strong> turns your map list into a point-and-click change. On load it reads <code>mapcycle.txt</code> (falling back to <code>addons/amxmodx/configs/maps.ini</code>), validates every entry with <code>is_map_valid</code> so dead maps never appear, and builds a paginated menu. Pick a map and it asks whether to change <em>now</em> or <em>at the end of the round</em>.</p><p>Inspired by the AMX Mod X maps menu. Independent GPL re-implementation.</p><h2>Features</h2><ul><li><code>amx_mapmenu</code> opens the paginated, validated map list.</li><li>Confirmation step: change immediately or schedule for round end.</li><li><code>amx_mapsearch &lt;part of name&gt;</code> filters the list by substring and opens a menu of the matches.</li><li>Handles both plain and <code>{ ... }</code>-suffixed mapcycle lines, and skips comments.</li><li>The map change is announced to everyone and written to the AMXX log.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_admin_map_menu.sma</code> and copy it to <code>addons/amxmodx/plugins/</code>.</li><li>Add it to <code>plugins.ini</code> and change the map.</li></ol><p>Both commands need the <code>ADMIN_MAP</code> flag (<code>e</code>). If <code>mapcycle.txt</code> is empty the plugin tries <code>maps.ini</code>; if both are empty the menu reports that no maps were loaded.</p>