Sunucu tanitimi
csb-admin-transfer / README.md
1 lines 1.2 KiB Markdown Source Rendered Raw Permalink History
<p><strong>CSB Admin Transfer</strong> moves a player between teams cleanly. <code>amx_transfer &lt;target&gt; &lt;t|ct|spec&gt;</code> calls <code>cs_set_user_team</code>, preserves the player's frags and deaths, and &mdash; when the target is going onto a playing team and <code>csb_transfer_respawn</code> is on &mdash; respawns them immediately with <code>Ham_CS_RoundRespawn</code>. The team score on the scoreboard is never touched, and every move is announced.</p><p><code>amx_transfermenu</code> is the point-and-click version: pick a player, then pick a team. Inspired by the team commands in the AMX Mod X <em>Admin Commands</em> plugin; independent GPL re-implementation.</p><h2>Features</h2><ul><li><code>amx_transfer &lt;name or #userid&gt; &lt;t|ct|spec&gt;</code> with immunity respected.</li><li>Frags and deaths preserved across the move.</li><li>Optional instant respawn onto the new team.</li><li>Two-step <code>amx_transfermenu</code> for mouse-driven admins.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_admin_transfer.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_LEVEL_A</code> flag (<code>a</code>) by default.</p>