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

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock