Jump to content

Recommended Posts

Posted

Team Limiter

Version 0.0.2

by Exolent

 

 

Description:

 

 

   This plugin allows you to limit the number of Terrorists and Counter-Terrorists in each team.

 

 

Cvar:

 

 

   team_limits <terrorists> <counter-terrorists>

   - Use -1 or * to not change the limit for a team

   - Default: * *

 

   Example usage:

   team_limits 5 3 -- sets limit to 5 terrorists and 3 counter-terrorists

   team_limits * 8 -- sets limit to unlimited terrorists (map limit of spawn points) and 8 counter-terrorists

 

Requirements:

 

 

   - Engine Module

   - Cstrike Module

 

   Should work with AMX Mod X 1.76d or later.

   It's recommended to use the latest version, though.

 

 

Installation:

 

  1. Install the plugin normally (.amxx in plugins, plugin name in plugins.ini)

  2. Restart server or change map

  3. Set the cvar in the amxx.cfg

  4. Set the cvar in the server (amx_cvar, amx_rcon, etc.)

  5. Restart server or change map

 

 

 

Notes:

 

 

   VIP Maps:

   - In VIP maps, the CT limit works differently.

   - If you set the limit to 0, of course no CTs can join.

   - If you set the limit to 1, then a CT and a VIP can play (total of 2 CTs).

   - I haven't tested for other values > 1, but I'm sure they work just like setting it to 1.

 

 

Changelog:

 

 

   Version 0.0.1

   - Initial release.

 

   Version 0.0.2

   - Changed command to cvar and sets limits on map start.

 

 

Please report any bugs you find (that aren't talked about in this post already).

Also, feel free to make suggestions in order to better this plugin.

 

DOwnload:  Click Here

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...