Raised This Month: $51 Target: $400
 12% 

Team Limiter v0.0.3


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-11-2010 , 17:04   Team Limiter v0.0.3
Reply With Quote #1

Team Limiter
Version 0.0.3
by Exolent


Description:

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

Commands:

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

Cvars:

tl_remove <remove type>
- If spawns are deleted, this determines how the excess players (more players than spawns) are handled
- 'kick' or 0 = kick players from the server, notifying them about the team limit
- 'spec' or 1 = move the players to spectator
- 'transfer' or 2 = move players to the opposite team (if there is no room on the other team, they are moved to spectator)
- Default: 'spec'
- Note: Do not use the apostrophes (') around the value. They are there just for reading purposes to understand the values.

Requirements:

- AMX Mod X version 1.8.0 or higher
- Cstrike Module
- FakeMeta Module
- HamSandwich Module

Installation:
  1. Install the plugin normally (.amxx in plugins folder, plugin name in plugins.ini)
  2. Set the cvars in the amxx.cfg
  3. Restart server or change map so the plugin is running and sets the limits


Changelog:

Version 0.0.1
- Initial release.

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

Version 0.0.3
- Changed cvar back to command
- Added cvar for handling excess players

Version 0.1.0 (beta)
- Changed the spawn limit method to limit joining team method
- Added player limit check on round start in case other plugins move players to a team

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.
Attached Files
File Type: sma Get Plugin or Get Source (team_limiter.sma - 4799 views - 9.7 KB)
File Type: sma Get Plugin or Get Source (team_limiter_beta.sma - 2271 views - 7.8 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 07-13-2011 at 20:32.
Exolent[jNr] is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-11-2010 , 17:05   Re: Team Limiter by Exolent
Reply With Quote #2

Nice, love it
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 01-11-2010 , 17:10   Re: Team Limiter by Exolent
Reply With Quote #3

smexy~
__________________
Zombiezzz is offline
EXteRmiNaToR
Senior Member
Join Date: Dec 2009
Old 01-11-2010 , 17:28   Re: Team Limiter by Exolent
Reply With Quote #4

Very usefull plugin!Nice!
EXteRmiNaToR is offline
CsPlatform
Junior Member
Join Date: Dec 2009
Old 01-11-2010 , 17:52   Re: Team Limiter by Exolent
Reply With Quote #5

nice plugin
good
CsPlatform is offline
ILUSION
Senior Member
Join Date: Oct 2006
Location: Argentina
Old 01-11-2010 , 18:01   Re: Team Limiter by Exolent
Reply With Quote #6

Nice plugin GJ
ILUSION is offline
kikifrh
Senior Member
Join Date: May 2009
Old 01-11-2010 , 18:56   Re: Team Limiter by Exolent
Reply With Quote #7

Cool
I'll test
kikifrh is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-11-2010 , 19:10   Re: Team Limiter by Exolent
Reply With Quote #8

yet another good plugin by Exo
platzpatrone is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 01-11-2010 , 19:36   Re: Team Limiter by Exolent
Reply With Quote #9

Nice stuff, did you use something like this in your bomb game?
__________________
"There is no knowledge, that is not power"
fezh is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-11-2010 , 19:43   Re: Team Limiter by Exolent
Reply With Quote #10

Quote:
Originally Posted by fezh View Post
Nice stuff, did you use something like this in your bomb game?
Not with this method, but I did do something with the spawn points.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode