Jump to content

[Share]Team Limiter v0.0.2


sakre

Recommended Posts

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

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...